VintaSoft Barcode .NET SDK 15.0: Documentation for Web developer
Vintasoft.Barcode Namespace / WebBarcodeReaderSettingsJS type / set_Threshold Property
Syntax Exceptions BrowserCompatibility SeeAlso
In This Topic
    set_Threshold Method
    In This Topic
    Sets the threshold value for algorithm of color conversion.
    Syntax
    var instance = new Vintasoft.Barcode.WebBarcodeReaderSettingsJS();
    
    var returnValue; // Type: any
    
    // Parameters
    var value; // Type: number
    
    returnValue = instance.set_Threshold(value);
    
    
    function set_Threshold(
    value
    Threshold value. Minimum value is 0, maximum value is 765. Default value is 500.
    : number
    ) : any;

    Parameters

    value
    Threshold value. Minimum value is 0, maximum value is 765. Default value is 500.
    Exceptions
    ExceptionDescription
    Thrown if argument has wrong type.
    Browser Compatibility
    9
    5
    11
    5
    See Also