VintaSoft Imaging .NET SDK 15.1: Documentation for Web developer
Vintasoft.Imaging.ImageProcessing Namespace / WebImageSmoothingCommandJS type / set_GrayscaleFiltration Property
Syntax Exceptions BrowserCompatibility SeeAlso
In This Topic
set_GrayscaleFiltration Method
In This Topic
Sets the value indicating whether grayscale filtration should be used.
Syntax
var instance = new Vintasoft.Imaging.ImageProcessing.WebImageSmoothingCommandJS();

var returnValue; // Type: any

// Parameters
var value; // Type: boolean

returnValue = instance.set_GrayscaleFiltration(value);

Parameters

value
True - Spectrum filtering is applied to input image converted to grayscale; false - Spectrum filtering is applied to the original input image. Default value is False.
Exceptions
ExceptionDescription
Thrown if argument has wrong type.
Browser Compatibility
56+
45+
11
See Also