VintaSoft Imaging .NET SDK 14.0: Documentation for Web developer
Vintasoft.Imaging Namespace / WebJpegEncoderSettingsJS type / set_Quality Property
Syntax Exceptions BrowserCompatibility SeeAlso
In This Topic
    set_Quality Method
    In This Topic
    Sets a quality factor in percents.
    Syntax
    var instance = new Vintasoft.Imaging.WebJpegEncoderSettingsJS(quality);
    
    var returnValue; // Type: any
    
    // Parameters
    var value; // Type: number
    
    returnValue = instance.set_Quality(value);
    
    
    function set_Quality(
    value
    Quality factor in percents. Valid values are from 1 to 100. Recommended values are from 40 to 80. Default value is 70.
    : number
    ) : any;

    Parameters

    value
    Quality factor in percents. Valid values are from 1 to 100. Recommended values are from 40 to 80. Default value is 70.
    Exceptions
    ExceptionDescription
    Thrown if argument has wrong type.
    Browser Compatibility
    56+
    45+
    11
    See Also