VpeGetDevDuplex

<< Click to Display Table of Contents >>

Navigation:  Device Control Properties >

VpeGetDevDuplex

Previous pageReturn to chapter overviewNext page

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

Retrieves the duplex mode of the currently selected output device.

int VpeGetDevDuplex(

VpeHandle hDoc

)

VpeHandle hDoc

Document Handle

Returns:

possible values are:

Constant Name

Value

Comment

VDUP_SIMPLEX

1

 

VDUP_VERTICAL

2

 

VDUP_HORIZONTAL

3

 

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 setting the duplex mode.