ColorChannelFlags enumeration (gdipluscolor.h)

The ColorChannelFlags enumeration specifies individual channels in the CMYK (cyan, magenta, yellow, black) color space. This enumeration is used by the ImageAttributes::SetOutputChannel method.

Syntax

typedef enum ColorChannelFlags {
  ColorChannelFlagsC = 0,
  ColorChannelFlagsM,
  ColorChannelFlagsY,
  ColorChannelFlagsK,
  ColorChannelFlagsLast
} ;

Constants

 
ColorChannelFlagsC
Value: 0
Specifies the cyan color channel.
ColorChannelFlagsM
Specifies the magenta color channel.
ColorChannelFlagsY
Specifies the yellow color channel.
ColorChannelFlagsK
Specifies the black color channel.
ColorChannelFlagsLast

Requirements

Requirement Value
Minimum supported client Windows XP, Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Header gdipluscolor.h (include Gdiplus.h)