VintaSoft Imaging .NET SDK 15.1: Documentation for Web developer
Vintasoft.Imaging.ImageProcessing Namespace / WebGetImageColorDepthCommandJS type / set_DetectBlackWhite Property
Syntax Exceptions BrowserCompatibility SeeAlso
In This Topic
set_DetectBlackWhite Method
In This Topic
Sets a value indicating whether to check that an image is a black and white image.
Syntax
var instance = new Vintasoft.Imaging.ImageProcessing.WebGetImageColorDepthCommandJS();

var returnValue; // Type: any

// Parameters
var value; // Type: boolean

returnValue = instance.set_DetectBlackWhite(value);

Parameters

value
True - command must check that an image is a black and white image; False - command must NOT check that an image is a black and white image. Default value is True.
Exceptions
ExceptionDescription
Thrown if argument has wrong type.
Browser Compatibility
56+
45+
11
See Also