|
procedure SelectColorMode |
Top Previous Next |
|
Using the method SelectColorMode you can force the engine to convert the RGB colors used by the drawing code to either CMYK or grayscale.
Parameters:
Select : TSetColorExSelect
Possible values are:
wpFontColor - select the font color (Canvas.Font.Color) wpPenColor - select the line color (Canvas.Pen.Color) wpFillColor - select the fill color (Canvas.Brush.Color)
Mode : TSetColorExMode
Possible values are:
wpStandardColor, wpRGBMode - select the standard RGB mode wpCMYKMode - the engine converts the RGB colors to CMYK wpGrayMode - the engine converts to grayscale |