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(
: 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
Exception | Description |
| Thrown if argument has wrong type. |
Browser Compatibility
See Also