VpeSetDevScalePercent

<< Click to Display Table of Contents >>

Navigation:  Device Control Properties >

VpeSetDevScalePercent

Previous pageReturn to chapter overviewNext page

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

Sets the printing scale of the currently selected output device to the specified value. Setting this property does NOT affect the setting of the preview. The value you specify is in percent.

int VpeSetDevScalePercent(

VpeHandle hDoc,

int scale

)

VpeHandle hDoc

Document Handle

int scale

the scaling (e.g. 100 = 100%; 25 = 25%)

Returns:

Value

Description

True

success

False

failure

Remarks:

In case of an error, LastError is set to VERR_COMMON. An error may occur if the device does not support changing the scale.