<< Click to Display Table of Contents >> VpeSetPreviewCtrl |
[Windows platform only]
Defines the behavior of the preview for page forward / backward action. It specifies the vertical positioning of the page in the preview after the user moved a page forward / backward.
void VpeSetPreviewCtrl(
VpeHandle hDoc,
int setting
)
VpeHandle hDoc
Document Handle
int setting
possible values are:
Constant Name |
Value |
Comment |
PREVIEW_STAY |
0 |
vertical position unaffected |
PREVIEW_JUMPTOP |
1 |
vertical position on top of page (default) |
Default:
PREVIEW_JUMPTOP
Example:
VpeSetPreviewCtrl(hDoc, PREVIEW_STAY)