Documents are the totality of what is displayed in a document window, whether that be a single layer or several sections of embedded, multilayer pages. You can request the root document identifier for any of these document types, or for the document in the specified document window.
To request the root document identifier:
· Use the IN_GetDocumentID function. Specify a layer ID, page ID, or document window ID as the objectID.
The root document identifier is returned for the given Imagenation entity.
You can also request the actual document type (document window, document, page, or layer) based on an objectID.
To request a document type:
· Use the IN_GetObjectType function.
The document type is returned based on the given identifier.
See also