VintaSoft Imaging .NET SDK 14.0: Documentation for Web developer
Vintasoft.Imaging.ImageProcessing Namespace / WebIsImageGrayscaleCommandJS type / set_MaxPercentOfColorPixels Property
Syntax Exceptions BrowserCompatibility SeeAlso
In This Topic
    set_MaxPercentOfColorPixels Method
    In This Topic
    Sets the maximum count, in percents, of color pixels in image.
    Syntax
    var instance = new Vintasoft.Imaging.ImageProcessing.WebIsImageGrayscaleCommandJS();
    
    var returnValue; // Type: any
    
    // Parameters
    var value; // Type: number
    
    returnValue = instance.set_MaxPercentOfColorPixels(value);
    
    
    function set_MaxPercentOfColorPixels(
    value
    Maximum percents of color pixels in image. Valid values are from 0.0 to 1.0. Default value is 0.
    : number
    ) : any;

    Parameters

    value
    Maximum percents of color pixels in image. Valid values are from 0.0 to 1.0. Default value is 0.
    Exceptions
    ExceptionDescription
    Thrown if argument has wrong type.
    Browser Compatibility
    56+
    45+
    11
    See Also