VintaSoft Imaging .NET SDK 14.0: Documentation for Web developer
Vintasoft.Imaging.ImageProcessing Namespace / WebChangeBrightnessContrastCommandJS type / set_Brightness Property
Syntax Exceptions BrowserCompatibility SeeAlso
In This Topic
    set_Brightness Method
    In This Topic
    Sets the brightness value in percents.
    Syntax
    var instance = new Vintasoft.Imaging.ImageProcessing.WebChangeBrightnessContrastCommandJS();
    
    var returnValue; // Type: any
    
    // Parameters
    var value; // Type: number
    
    returnValue = instance.set_Brightness(value);
    
    
    function set_Brightness(
    value
    Brightness value in percents. Valid values are from -100 to 100. Default value is 0.
    : number
    ) : any;

    Parameters

    value
    Brightness 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