set_DetectGrayscale Method
In This Topic
Sets a value indicating whether to check that an image is a grayscale image.
Syntax
var instance = new Vintasoft.Imaging.ImageProcessing.WebGetImageColorDepthCommandJS();
var returnValue; // Type: any
// Parameters
var value; // Type: boolean
returnValue = instance.set_DetectGrayscale(value);
function set_DetectGrayscale(
: boolean
) : any;
Parameters
- value
- True - command must check that an image is a grayscale image; False - command must NOT check that an image is a grayscale image. Default value is True.
Exceptions
Exception | Description |
| Thrown if argument has wrong type. |
Browser Compatibility
See Also