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 » Tue Oct 13, 2009 3:23 am

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: 1445
Joined: Thu Jul 10, 2008 2:21 pm

Re: Location of Barcode on TIFF

Post by Alex » Tue Oct 13, 2009 8:25 am

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

Who is online

Users browsing this forum: No registered users and 1 guest