Spire.Barcode is a professional barcode library specially designed for .NET developers (C#, VB.NET, ASP.NET, .NET Core) and Java developers (J2SE and J2EE) to generate, read and scan 1D & 2D barcodes.

Fri Aug 07, 2015 12:08 pm

Hi,

Is it possible to get the coordinates of the barcode 'box' that the scanned information comes from?

So for example, the rectangle that would fully enclose the barcode?

Mike

MikeGH
 
Posts: 2
Joined: Fri Aug 07, 2015 12:06 pm

Mon Aug 10, 2015 3:55 am

Hi Mike,

Thanks for your inquiry.

Here is the code to get the coordinates of the barcode 'box' that the scanned information comes from.
Code: Select all
float x = barCodeControl1.Location.X;
float y = barCodeControl1.Location.Y;

If you have any question, feel free to let us know.

Best regards,
Simon
e-iceblue support team
User avatar

Simon Liang
 
Posts: 8
Joined: Thu Jul 23, 2015 4:43 am

Mon Aug 10, 2015 9:38 am

Hi Simon,

I should have been clearer in what I was asking, I've got a Bitmap that BarcodeScanner.Scan scans ok, but I'd like to know where in the image the barcode it scanned was.

Ideally I'd like to be able to calculate the x,y coordinates within the image of the four corners of the barcode...

Mike

MikeGH
 
Posts: 2
Joined: Fri Aug 07, 2015 12:06 pm

Tue Aug 11, 2015 3:24 am

Hi Mike,

Thanks for reply.
So sorry that our product doesn't support this feature at this stage.
If you have any other question or request, welcome to contact us.

Best regards,
Simon

E-iceblue support team
User avatar

Simon Liang
 
Posts: 8
Joined: Thu Jul 23, 2015 4:43 am

Return to Spire.BarCode