VintaSoft Barcode .NET SDK 15.0: Documentation for Web developer
Vintasoft.Barcode Namespace / WebBarcodeReaderSettingsJS type / set_ImageScaleFactor Property
Syntax Exceptions BrowserCompatibility SeeAlso
In This Topic
    set_ImageScaleFactor Method
    In This Topic
    Sets a scale factor that is used for upscaling or downscaling an image before barcode recognition.
    Syntax
    var instance = new Vintasoft.Barcode.WebBarcodeReaderSettingsJS();
    
    var returnValue; // Type: any
    
    // Parameters
    var value; // Type: number
    
    returnValue = instance.set_ImageScaleFactor(value);
    
    
    function set_ImageScaleFactor(
    value
    Scale factor. Minimum value is 0.1, maximum value is 4. Default value is 1.
    : number
    ) : any;

    Parameters

    value
    Scale factor. Minimum value is 0.1, maximum value is 4. Default value is 1.
    Exceptions
    ExceptionDescription
    Thrown if argument has wrong type.
    Browser Compatibility
    9
    5
    11
    5
    See Also