VpeGetDevPrintableWidth

<< Click to Display Table of Contents >>

Navigation:  Device Control Properties >

VpeGetDevPrintableWidth

Previous pageReturn to chapter overviewNext page

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

Returns the printable width 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. The value returned by this function considers the unprintable area of the left and right margin and returns the resulting printable width.

VpeCoord VpeGetDevPrintableWidth(

VpeHandle hDoc

)

VpeHandle hDoc

Document Handle

Returns:

the printable width

Remarks:

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