VpeGetScaleMode

<< Click to Display Table of Contents >>

Navigation:  Management Functions >

VpeGetScaleMode

Previous pageReturn to chapter overviewNext page

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

Returns the current scale mode of the preview.

int VpeGetScaleMode(

VpeHandle hDoc

)

VpeHandle hDoc

Document Handle

Returns:

possible return 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