What Can You Do
With .NET Barcode Reader SDK, C# and VB.NET programmers can easily read and recognize linear bar code Code 93 from images and PDF document. By simply adding PQScan.BarcodeScanner.dll library into your Visual Studio .NET project reference, C# and VB.NET developers can use its mature barcode recognition APIs to read and decode Code 93 barcode information.
In details, you can load a raster image file, containing Code 93 1d bar code(s), in a form of stream, string or bitmap, and then direct our barcode scanning software for .NET to read Code 93 barcode(s) on the image only or recognize all barcode images from it. Supportive raster image formats are Bmp, Gif, Jpeg/Jpg, Png, and Tiff/Tif.
Moreover, barcode recognition from PDF document is also available by using pqScan .NET PDF to Image SDK and .NET Barcode Reader SDK
In the following part, you will get what are the exact Code 93 bar code reading APIs for Visual Studio .NET project.
What .NET APIs Should Use
To Get Code 93 Barcode Information Only
To quickly read and get barcode data encoded in Code 93 bar code(s) from your target image or PDF file, you can use the following robust .NET bar code recognition APIs. Please note, Code 93 barcode's mandatory check digits will be recognized as well. And all bar code information will be returned in data arrays. Please keep higher dpi to make the barcode image clear enough to scan.
public static BarcodeResult Scan(Bitmap bitmap, BarCodeType barType);
public static BarcodeResult Scan(Stream stream, BarCodeType barType);
public static BarcodeResult Scan(string filename, BarCodeType barType);
To Get All Barcode Types Information, Code 93 Included
On loaded image or PDF file, there are more than one barcode image types. Instead of reading Code 93 only, .NET developers can scan and decode all of them. .NET APIs below are suitable to use when barcode type is unclear. Barcode scanning result will include all bar code names and their respective data. Here, C# & VB.NET Demo Codes for Code 93 Recognition are provided.
public static BarcodeResult Scan(Bitmap bitmap);
public static BarcodeResult Scan(Stream stream);
public static BarcodeResult Scan(string filename);
To Read Only One Code 93 Barcode from Image
We provide three APIs for one Code 93 barcode reading. It will improve barcode reading accuracy and it is suitable when there's only one Code 93 barcode on your image.
public static BarcodeResult ScanSingle(Bitmap bitmap);
public static BarcodeResult ScanSingle(Stream stream);
public static BarcodeResult ScanSingle(string filename);