Description
Positions or centers a page on a specific point (X and Y in millipoints).
The pasteboard must be large enough to allow scroll.
Syntax
Page.ViewPositionAt (X,Y,bCenter) |
X
X-coordinate
Y
Y-coordinate
bCenter
True to center, False to put page's top left corner to X and Y
Remarks
Returns error code.
Examples
To force page centering in the window:
Page.ViewPositionAt (Page.GetPageWidth/2, Page.GetPageHeight/2, True)
To attach page at upper-left corner
Page.ViewPositionAt (0, 0, False)
Context
Page designer
See also