VintaSoft Barcode .NET SDK v11.0
Vintasoft.Barcode Namespace / WebBarcodeReaderSettingsJS type / set_ScanRectangle Method
Coordinate of the left top corner of the rectangle.
Coordinate of the left top corner of the rectangle.
Width of the rectangle.
Height of the rectangle.
In This Topic
    set_ScanRectangle Method
    In This Topic
    Sets the rectangle on image, where barcodes must be searched.
    Syntax
    var instance = new Vintasoft.Barcode.WebBarcodeReaderSettingsJS();
    var value; // Type: any
    value = instance.set_ScanRectangle(x, y, w, h);
    function set_ScanRectangle( 
       x : number,
       y : number,
       w : number,
       h : number
    ) : any;

    Parameters

    x
    Coordinate of the left top corner of the rectangle.
    y
    Coordinate of the left top corner of the rectangle.
    w
    Width of the rectangle.
    h
    Height of the rectangle.
    Browser Compatibility
    9
    5
    11
    5
    See Also