VpeGetDevPaperWidth

<< Click to Display Table of Contents >>

Navigation:  Device Control Properties >

VpeGetDevPaperWidth

Previous pageReturn to chapter overviewNext page

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

Retrieves the paper width of the currently selected output device.

VpeCoord VpeGetDevPaperWidth(

VpeHandle hDoc

)

VpeHandle hDoc

Document Handle

Returns:

the setting of the paper width for the current selected device

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 paper width.