GetDocumentID

All Editions image\bltlrgss.gif Related Transactions  image\bltlrgss.gif Example

The GetDocumentID transaction returns the root identifier of a document. When creating documents composed of multipages and pages, it may be necessary to use the root identifier instead of the docwinID. Otherwise pages may become embedded instead of being added at the main level.

Type XTYP_REQUEST

Syntax [GetDocumentID(objectID)]

Parameter

Data type

Values

Meaning

objectID

DWORD

0

objectID

active document

identifier of the document window, page, or layer to query

Reply

Data type

Meaning

documentID

DWORD

identifier of the root document

Release information

Added in Release 4.10.

Published in Release 4.5.

See also

Getting document information

Creating a document

Adding layers and pages