VpeSetPreviewCtrl

<< Click to Display Table of Contents >>

Navigation:  Management Functions >

VpeSetPreviewCtrl

Previous pageReturn to chapter overviewNext page

[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)