The SetViewWindow transaction sets the viewed area of the current page in the specified document to the specified coordinates. The specified area will be visible, but additional area may be shown because of the difference between the window's aspect ratio and that of the specified area.
Type XTYP_EXECUTE
Syntax [SetViewWindow(docwinID, units, x1, y1, x2, y2)]
|
Parameter |
Data type |
Values |
Meaning |
|
docwinID |
DWORD |
0 | docwinID |
active | specific |
|
units |
WORD |
0 | 1 | 2 | 4 | 5 | 6 | 9 | 10 | 11 |
proportional | inches | cm | feet | mm | m | custom1 | 2 | 3. See Remarks. |
|
x1, y1 |
DWORD |
coordinates of upper-left corner | |
|
x2, y2 |
DWORD |
coordinates of lower-right corner. | |
Remarks
To use the custom units, they must be defined in Imagenation (in the Units category or dialog box).
Release information
Added in Release 4.00.
See also