VpeSetScaleMode

<< Click to Display Table of Contents >>

Navigation:  Management Functions >

VpeSetScaleMode

Previous pageReturn to chapter overviewNext page

[Windows platform only; not supported by the Community Edition]

Sets the scale mode of the preview.

void VpeSetScaleMode(

VpeHandle hDoc,

int mode

)

VpeHandle hDoc

Document Handle

int mode

possible values are:

Constant Name

Value

Comment

VSCALE_MODE_FULL_PAGE

0

show full page

VSCALE_MODE_PAGE_WIDTH

1

fit page width

VSCALE_MODE_ZOOM_TOOL

2

zoom tool activated

VSCALE_MODE_FREE

3

any scale allowed

Default:

VSCALE_MODE_PAGE_WIDTH