VpeGetDevPrinterOffsetY

<< Click to Display Table of Contents >>

Navigation:  Device Control Properties >

VpeGetDevPrinterOffsetY

Previous pageReturn to chapter overviewNext page

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

Returns the topmost y-position where the printer can print on for the currently selected output device. Printers have an unprintable area on the paper. This is the area around the paper margins where a printer can not print on due to technical limitations of the printing mechanism.

VpeCoord VpeGetDevPrinterOffsetY(

VpeHandle hDoc

)

VpeHandle hDoc

Document Handle

Returns:

the topmost y-position where the printer starts printing

Remarks:

In case of an error, LastError is set to VERR_COMMON.