VintaSoft Imaging .NET SDK 15.1: Documentation for Web developer
Vintasoft.Imaging.ImageProcessing Namespace / WebDesaturateCommandJS type / set_DesaturateMethod Property
Syntax Exceptions BrowserCompatibility SeeAlso
In This Topic
set_DesaturateMethod Method
In This Topic
Sets desaturate method.
Syntax
var instance = new Vintasoft.Imaging.ImageProcessing.WebDesaturateCommandJS();

var returnValue; // Type: any

// Parameters
var value; // Type: WebDesaturateMethodEnumJS

returnValue = instance.set_DesaturateMethod(value);

Parameters

value
An instance of WebDesaturateMethodEnumJS class. Default value is "Average".
Exceptions
ExceptionDescription
Thrown if argument has wrong type.
Browser Compatibility
56+
45+
11
See Also