<< Click to Display Table of Contents >> VpeGetDevColor |
[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.