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);
function set_DesaturateMethod(
: WebDesaturateMethodEnumJS
) : any;
Parameters
- value
- An instance of WebDesaturateMethodEnumJS class. Default value is "Average".
Exceptions
Exception | Description |
| Thrown if argument has wrong type. |
Browser Compatibility
See Also