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.

Mon Aug 18, 2014 9:25 am

Hi support.

I have a question for you.
In my procedure when i call Spire.Barcode.BarcodeScanner.Scan(memStream) function the system lock into the call.
The funcionality don't return error or other i think enter in a infinite loop.

How can i resolve the problem?

thx
Raffaele

leleng82@gmail.com
 
Posts: 1
Joined: Mon Aug 18, 2014 8:41 am

Tue Aug 19, 2014 9:40 am

Dear Raffaele,

Thanks for your inquiry.

Please send us the image file generated by memStream so that we can solve your problem.You can refer to the following code:
Code: Select all
using(FileStream fs=new FileStream("barcode.png",FileMode.Create))
{
    BinaryWriter bw = new BinaryWriter(fs);
    bw.Write(memStream.ToArray());
    bw.Close();
}

Please feel free to contact us if you have any problems.

Best Regards,
Burning
E-iceblue support team
Best Regards,
Burning
E-iceblue Support Team
User avatar

burning.liu
 
Posts: 406
Joined: Mon Aug 04, 2014 6:47 am

Return to Spire.BarCode