IN_NewView

image\bltlrgsq_shg.gif Editions  image\bltlrgsq_shg.gif Related Functions  image\bltlrgsq_shg.gif Example

The IN_NewView function copies the contents of a document window to a new document window using the default or current display parameters. This is not the same as opening a document twice. Instead, it displays the same document in two windows.

Syntax

int IN_NewView( docwinID, viewType, pNewDocwinID )

Input Parameters

Values

Meaning

IN_DOCWIN docwinID

0 | docwinID

active | specific

SHORT viewType

IN_VIEWTYPE_DEFAULT (0)
default view. The window appears as it did when it first opened.

IN_VIEWTYPE_ACTIVE (1)
duplicate view. The window appears with the same page, scaling, rotation, inversion, mirroring, and position as the original document.

Output Parameters

Meaning

IN_DOCWIN_PTR pNewDocwinID

pointer to the new document window identifier

Remarks

This function does not work with external document windows. Use the IN_NewExternalView function to open a duplicate view of a document window into an external document window.

Release information

Added to Imagenation for Windows in Release 4.10.

As of Release 5.1, also available in Imagenation for UNIX.

See also

Duplicating windows

Duplicating external document windows