<< Click to Display Table of Contents >> VpeGetDevScalePercent |
[Windows platform only; not supported by the Community Edition]
Retrieves / 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 VpeGetDevScalePercent(
VpeHandle hDoc
)
VpeHandle hDoc
Document Handle
Returns:
the scaling (e.g. 100 = 100%; 25 = 25%)
or False (= 0) = 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.