Unit of the ScanRectangle

Questions, comments and suggestions concerning VintaSoft Barcode .NET SDK.

Moderator: Alex

Post Reply
jayMuc
Posts: 2
Joined: Thu Sep 01, 2011 7:29 pm

Unit of the ScanRectangle

Post by jayMuc »

Hello everyone,

in namespace Vintasoft.Barcode exists a Class "ReaderSettings" with property "ScanRectangle" to limit the area BarcodeReader is searching for barcodes. But in the documentation, nothing is said about the used unit of the coordinates/size of this rectangle relative to the scanned document and what is the base of the coordinates (Top-Left || Bottom-Left). Please, could someone answer this question?

Thanks in advance

jayMuc
Alex
Site Admin
Posts: 2305
Joined: Thu Jul 10, 2008 2:21 pm

Re: Unit of the ScanRectangle

Post by Alex »

Hello,

Scan rectangle is calculated from the top-left corner of the image, units of measure - pixels.

Best regards, Alexander
jayMuc
Posts: 2
Joined: Thu Sep 01, 2011 7:29 pm

Re: Unit of the ScanRectangle

Post by jayMuc »

Thank you, works like a charm!
Post Reply