VintaSoft Imaging .NET SDK 15.1: Documentation for Web developer
Vintasoft.Imaging.ImageProcessing Namespace / WebGetColorCountCommandJS type / set_MaxColorCount Property
Syntax Exceptions BrowserCompatibility SeeAlso
In This Topic
set_MaxColorCount Method
In This Topic
Sets the maximum allowable number of colors in an image.
Syntax
var instance = new Vintasoft.Imaging.ImageProcessing.WebGetColorCountCommandJS();

var returnValue; // Type: any

// Parameters
var value; // Type: number

returnValue = instance.set_MaxColorCount(value);

Parameters

value
Maximum number of colors. Possible value is any positive value. Default value is 0.
Exceptions
ExceptionDescription
Thrown if argument has wrong type.
Browser Compatibility
56+
45+
11
See Also