Harness proD API Help
EPLAN.Harness.API.Projects.Documents Namespace / Document Class / IsOpened Property
In This Topic
    IsOpened Property
    In This Topic
    Is this document opened?
    Syntax
    public bool IsOpened {get;}
    Exceptions
    ExceptionDescription
    The object is in invalid state. Obtain a new one.

    Internal error of HpD or HpD API.

    IMPORTANT: Throwing this exception changes HpD Api's state to Failed.

    Remarks

    Some methods require a document to be opened or closed. This is written in method's documentation.

    If you use a method that requires document to be opened/closed and it is not, EPLAN.Harness.API.Exceptions.FileClosedException or EPLAN.Harness.API.Exceptions.FileOpenedException is thrown.

    See Also