VintaSoft Imaging .NET SDK 14.0: Documentation for Web developer
Vintasoft.Imaging.ImageProcessing Namespace / WebPosterizeCommandJS type / set_ColorCount Property
Syntax Exceptions BrowserCompatibility SeeAlso
In This Topic
    set_ColorCount Method
    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(
    value
    Count of unique colors. Valid values are from 2 to 256. Default value is 6.
    : number
    ) : any;

    Parameters

    value
    Count of unique colors. Valid values are from 2 to 256. Default value is 6.
    Exceptions
    ExceptionDescription
    Thrown if argument has wrong type.
    Browser Compatibility
    56+
    45+
    11
    See Also