VpeGetDevColor

<< Click to Display Table of Contents >>

Navigation:  Device Control Properties >

VpeGetDevColor

Previous pageReturn to chapter overviewNext page

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

Retrieves the color mode for the currently selected output device.

int VpeGetDevColor(

VpeHandle hDoc

)

VpeHandle hDoc

Document Handle

Returns:

possible values are:

Constant Name

Value

Comment

VCOLOR_MONOCHROME

1

 

VCOLOR_COLOR

2

 

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 color mode.