DevScalePercent

<< Click to Display Table of Contents >>

Navigation:  Device Control Properties >

DevScalePercent

Previous pageReturn to chapter overviewNext page

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

Returns / 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.

property integer VPE.DevScalePercent

read / write; runtime only

Possible Values:

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

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.