VpeGetDevPaperFormat

<< Click to Display Table of Contents >>

Navigation:  Device Control Properties >

VpeGetDevPaperFormat

Previous pageReturn to chapter overviewNext page

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

Retrieves the selected paper format of the currently selected output device.

int VpeGetDevPaperFormat(

VpeHandle hDoc

)

VpeHandle hDoc

Document Handle

Returns:

one of the predefined VPAPER_xyz constants

or 1 = failure

Remarks:

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