VpeGetDevOrientation

<< Click to Display Table of Contents >>

Navigation:  Device Control Properties >

VpeGetDevOrientation

Previous pageReturn to chapter overviewNext page

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

Retrieves the orientation of the currently selected output device.

int VpeGetDevOrientation(

VpeHandle hDoc

)

VpeHandle hDoc

Document Handle

Returns:

Constant Name

Value

Comment

VORIENT_PORTRAIT

1

 

VORIENT_LANDSCAPE

2

 

False

0

failure

Remarks:

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