[C#] | public int reduceColors(int colorCount [, bool blackAndWhite ]); |
[VB] | Public Function reduceColors(colorCount As Integer [, blackAndWhite As Boolean ]) As Integer |
ChartDirector 7.1 (.NET Edition)
DrawArea.
Usage
[C#] | public int reduceColors(int colorCount [, bool blackAndWhite ]); |
[VB] | Public Function reduceColors(colorCount As Integer [, blackAndWhite As Boolean ]) As Integer |
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