VpeGetDevYResolution

<< Click to Display Table of Contents >>

Navigation:  Device Control Properties >

VpeGetDevYResolution

Previous pageReturn to chapter overviewNext page

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

Retrieves the y-resolution in dots per inch of the currently selected output device.

int VpeGetDevYResolution(

VpeHandle hDoc

)

VpeHandle hDoc

Document Handle

Returns:

the y-resolution in DPI

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 setting the y-resolution.