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

var returnValue; // Type: any

// Parameters
var value; // Type: number

returnValue = instance.set_Gamma(value);

Parameters

value
Gamma value. Valid value is 0 and any positive value. Default value is 1.
Exceptions
ExceptionDescription
Thrown if argument has wrong type.
Thrown if value is negative.
Browser Compatibility
56+
45+
11
See Also