ColorType Enumeration

From PDF XChange PDF SDK
Jump to: navigation, search


Specifies the type of the color that is being stored in the IColor. Values less then 0 are used for the inner usage and do not represent any color.

Syntax

enum ColorType
{
    ColorType_Auto    = -3,
    ColorType_Default = -2,
    ColorType_None    = -1,
    ColorType_RGB     = 0,
    ColorType_CMYK    = 1,
    ColorType_Gray    = 2,
};

Constants

ColorType_Auto
The color type is Automatic. Corresponds to the "A" value.
ColorType_Default
The color type is Default. Corresponds to the "D" value.
ColorType_None
The color type is None. Corresponds to the "N" value.
ColorType_RGB
The color type is RGB.
ColorType_CMYK
The color type is CMYK.
ColorType_Gray
The color type is the shades of gray.

See Also

IAUX_Inst::CreateColor, IColor::Type, IPXC_Color::Value, IUIX_Inst::CreateColor