CreateDocwin

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

The CreateDocwin transaction opens a new, blank document window with the specified label.

Type XTYP_REQUEST or XTYP_EXECUTE

Syntax [CreateDocwin("documentLabel")]

Parameter

Data type

Meaning

documentLabel

string

label, maximum 80 characters

Reply

Data type

Meaning

newDocwinID

DWORD

identifier of the created document. See Remarks.

Remarks

Calling this transaction does not create a page. To create a page, you must add a layer or page to the document with the NewLayer, NewPage, ImportLayer, or ImportPage transaction. The specified label will be assigned to this page.

Replies are only returned when this transaction is called as an XTYP_REQUEST.

Release information

Added in Release 3.50.

See also

Creating a document

Defining window titles