Harness proD API Help
EPLAN.Harness.API.Projects.Documents Namespace / Project Class / CopyDocument Method
In This Topic
    CopyDocument Method
    In This Topic
    Copy document passed as an argument.
    Syntax
    public Document CopyDocument( 
       Document document
    )

    Parameters

    document
    Exceptions
    ExceptionDescription
    This file is not opened.
    The operation was not successful.
    Remarks

    Document copy could be created just on closed documents. For more details see into the software help.

    When the copy document process is not successful, the EPLAN.Harness.API.Exceptions.FileCopyException is thrown.

    In case one of the copied documents is opened, this methods will fail.

    See Also