[VB] | Public Function reduceColors(colorCount As Integer [, blackAndWhite As Boolean ]) As Integer |
[C#] | public int reduceColors(int colorCount [, bool blackAndWhite ]); |
ChartDirector 5.1 (.NET Edition)
DrawArea.reduceColors
Usage
[VB] | Public Function reduceColors(colorCount As Integer [, blackAndWhite As Boolean ]) As Integer |
[C#] | public int reduceColors(int colorCount [, bool blackAndWhite ]); |
Description
Arguments
Argument | Default | Description |
---|---|---|
colorCount | (Mandatory) | The maximum number of colors that image should have after after reduction. Must be between 16 - 256. |
blackAndWhite | false | A true value means the image will be converted to black and white (with grey levels). A false value means the image will not be converted to black and white. |
Return Value