Skip to main content

What it does

Represents a document in the documents window.

Properties

NameTypeAccessDescription
CollectionIDocumentItemsRead-onlyThe collection that contains the document
DocumentIDocumentRead-onlyThe document
ExpandedboolRead/writeSpecifies whether the document is expanded
MarkedNextStageIStageInfoRead-onlyThe next stage to which the document will be sent after the task is complete.
PageItemsIPageItemsRead-onlyThe collection of pages included in the document
RectIShellRectRead-onlyThe rectangle of the document in the IDocumentsWindow
SelectedboolRead/writeSpecifies whether the document is selected
TaskDocumentboolRead-onlySpecifies whether the document belongs to the current task
TaskWindowITaskWindowRead-onlyThe task window
For the Thumbnails view mode, the Expanded property value is always true. Setting the property to false does not result in errors, but the value will remain true.
If the document is collapsed, the DocumentItem.PageItems.Count property returns “0”.