Forum 'VintaSoft Barcode .NET SDK Discussions'

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

Board index < VintaSoft Barcode < VintaSoft Barcode .NET SDK Discussions

Login

Location of Barcode on TIFF



Location of Barcode on TIFF

Post by trousseau »

I have a tiff image with a single barcode on it. This image is sent to us through a fax service, and sometimes the image comes in upside down. This doesn't effect the reading of the barcode, but it does effect a process further down the line. Is there a way to determine if the barcode is on the top/bottom/left/right of the image, so I can rotate and save the correctly oriented image?

Thanks.


Re: Location of Barcode on TIFF

Post by Alex »

Hello,

You can get the direction of the barcode with the Direction property:
...
IBarcodeInfo[] infos = barcodeReader.ReadBarcodes(image);
// infos[0].Direction - direction of the first barcode
...
Best regards, Alexander


Page 1 from 1: 1