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, it displays the same document in two windows. (Note that this function does not work with external document windows.)
To create a copy of a window with its default view:
· Use the IN_NewView function set to IN_VIEWTYPE_DEFAULT.
A new window appears, displaying the specified document as it appeared when it first opened: on page 1, with the default view settings.
To create a duplicate copy of a window:
· Use the IN_NewView function set to IN_VIEWTYPE_ACTIVE.
A new window appears, displaying a document with the same page, scaling, rotation, inversion, mirroring, and position as the specified document window.
To request the number of document windows that contains a view of a document window, use IN_GetDocumentViewDocwins.
See also