Location of Barcode on TIFF

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

Moderator: Alex

Post Reply
trousseau
Posts: 2
Joined: Tue Oct 13, 2009 3:14 am

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.
Alex
Site Admin
Posts: 2300
Joined: Thu Jul 10, 2008 2:21 pm

Re: Location of Barcode on TIFF

Post by Alex »

Hello,

You can get the direction of the barcode with the Direction property:

Code: Select all

...
IBarcodeInfo[] infos = barcodeReader.ReadBarcodes(image);
// infos[0].Direction - direction of the first barcode
...
Best regards, Alexander
Post Reply