VintaSoft Imaging .NET SDK v8.5
set_DetectGrayscale Method
Vintasoft.Imaging.ImageProcessing Namespace > WebGetImageColorDepthCommandJS type : set_DetectGrayscale Method
True - command must check that an image is a grayscale image; False - command must NOT check that an image is a grayscale image.
Sets a value indicating whether to check that an image is a grayscale image.
Syntax
var instance = new Vintasoft.Imaging.ImageProcessing.WebGetImageColorDepthCommandJS(successFunc, errorFunc);
var returnValue; // Type: any

// Parameters
var value; // Type:  boolean

returnValue = instance.set_DetectGrayscale(value);
function set_DetectGrayscale( 
   value : 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.
Browser Compatibility
9
5
11
5
See Also

Reference

WebGetImageColorDepthCommandJS type