Duplicating windows

 

You can create a copy of an existing document window and assign it a new window identifier. You can choose either duplicate or default view. This is not the same as opening a document twice. Instead, this displays the same document in two windows.

This procedure cannot be used with external document windows.

To create a duplicate copy of a window:

· Use the DuplicateDocwin transaction.

or

· Use the NewView transaction set to ViewType 1.

A new window appears which displays the specified document with the same display parameters (scaling, rotation, current page) currently being used.

To create a copy of a window with its default view:

· Use the NewView transaction set to ViewType 2.

A new window appears which displays the specified document with the display parameters used when the document was first opened.

To request the number of document windows containing a view of a document:

· Use GetDocumentViewDocwins(docwinID).

The reply contains the number of windows that display the same document as docwinID, and their identifiers.

See also