In This Topic
Sets the count of unique colors.
Syntax
var instance = new Vintasoft.Imaging.ImageProcessing.WebPosterizeCommandJS();
var returnValue; // Type: any
// Parameters
var value; // Type: number
returnValue = instance.set_ColorCount(value);
function set_ColorCount(
: number
) : any;
Parameters
- value
- Count of unique colors. Valid values are from 2 to 256. Default value is 6.
Exceptions
| Exception | Description |
| Thrown if argument has wrong type. |
Browser Compatibility
See Also