GdPicture image identifier.





In This Topic
GdPicture14 Namespace / GdPictureImaging Class / GetColorChannelFlagsM Method

GetColorChannelFlagsM Method (GdPictureImaging)

In This Topic
Returns a new GdPicture image based on the Magenta channel of the CMYK color space of a GdPicture image.
Syntax
'Declaration
 
Public Function GetColorChannelFlagsM( _
   ByVal ImageID As Integer _
) As Integer
public int GetColorChannelFlagsM( 
   int ImageID
)
public function GetColorChannelFlagsM( 
    ImageID: Integer
): Integer; 
public function GetColorChannelFlagsM( 
   ImageID : int
) : int;
public: int GetColorChannelFlagsM( 
   int ImageID
) 
public:
int GetColorChannelFlagsM( 
   int ImageID
) 

Parameters

ImageID
GdPicture image identifier.

Return Value

0: The image could not be created. Use the GetStat() method to determine the reason this method failed. Non-zero: GdPicture image identifier. The created image. The ReleaseGdPictureImage() method must be subsequently used to release the image from the memory.
Remarks
According to Wikipedia, CMYK (short for cyan, magenta, yellow, and key) is a subtractive color model used in color printing. This color model is based on mixing pigments of the following colors in order to make other colors: * C = Cyan. * M = Magenta. * Y = Yellow. * K = Key (Black). CMYK is the standard color model used in offset printing for full-color documents. CMYK, or four-color printing, generates a good final printout with excellent contrast.
See Also