TDocumentState

Description

The document state in the task window. Applies in the ITaskWindow interface.

Admissible values:

  • DS_Locked = 0 - The document is locked. No actions on the document are allowed.
  • DS_Edited =1 - The document is being edited in the document editor.
  • DS_Closed = 2 - The document is closed. It can be both opened and edited.
  • DS_Opened = 3 - The document is opened. It can be edited by using a script.
  • DS_EditedAndOpened = 4 - The document is being edited in the document editor and can be edited by using a script.
  • DS_EditedAndLocked = 5 - The document is opened in the document editor and locked from any actions.

Note: If the document is being edited in the document editor, its state changes to DS_EditedAndOpened.

10.11.2020 12:08:04


Please leave your feedback about this article