In This Topic
Sets the rectangle on image, where barcodes must be searched.
Syntax
var instance = new Vintasoft.Barcode.WebBarcodeReaderSettingsJS();
var returnValue; // Type: any
// Parameters
var x; // Type: number
var y; // Type: number
var w; // Type: number
var h; // Type: number
returnValue = instance.set_ScanRectangle(x, y, w, h);
function set_ScanRectangle(
: number,
: number,
: number,
: 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.
Exceptions
Exception | Description |
| Thrown if arguments have wrong types. |
Browser Compatibility
See Also