VintaSoft Imaging .NET SDK 15.1: Documentation for Web developer
Vintasoft.Imaging.ImageProcessing Namespace / WebChangeContrastCommandJS type / set_Contrast Property
Syntax Exceptions BrowserCompatibility SeeAlso
In This Topic
set_Contrast Method
In This Topic
Sets the contrast value in percents.
Syntax
var instance = new Vintasoft.Imaging.ImageProcessing.WebChangeContrastCommandJS();

var returnValue; // Type: any

// Parameters
var value; // Type: number

returnValue = instance.set_Contrast(value);

Parameters

value
Contrast value in percents. Valid values are from -100 to 100. Default value is 0.
Exceptions
ExceptionDescription
Thrown if argument has wrong type.
Browser Compatibility
56+
45+
11
See Also