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.

11/15/2022 10:12:44 AM

Please leave your feedback about this article

Usage of Cookies. In order to optimize the website functionality and improve your online experience ABBYY uses cookies. You agree to the usage of cookies when you continue using this site. Further details can be found in our Privacy Notice.