Hi,support, I'm in trouble with recognizing barcodes in Crystal report. Does your .net barcode reader control apply this reading feature in Crystal report? Any suggestion is appreciated.
---- Kent
Hi,support, I'm in trouble with recognizing barcodes in Crystal report. Does your .net barcode reader control apply this reading feature in Crystal report? Any suggestion is appreciated.
---- Kent
Hi, Kent.
We don't provide report barcode reader add-in, so you can't read the barcode in the report directly. However you can decode these barcodes in another way, which is exporting and saving them to image files from your report.
Nearly all the popular reports are supplying the "SaveAs" function, like Crystal report, SSRS, RDLC report, BIRT report, iReport and Jasper report. You can use the build-in save feature to export the barcode report to raster image file(bmp, jpg, png, tiff). If the report you used is not supported export to image files, you can try to convert the report to PDF document. Our .net barcode reader is also allowed to scan barcodes in PDF files. Please click the link for details.
In this way, you can decode all the 1D and 2D barcodes we supported in your report now. The following C# code is a sample demo for reading barcodes from your report image.
Bitmapimage = Bitmap.FromFile("report-image.jpg");
BarcodeResult[] results = BarCodeScanner.Scan(image);
Console.Write(results[0].Data.ToString());
Hope the C# code can be helpful.
---- pqScan Support Team
Copyright © pqScan 2010-2023. All Rights Reserved.