BarcodeLib.com Barcode Reader for .NET

For trial version only, we will randomly print the First character in the output barcode data.


Contents




Introduction

BarcodeLib.com Barcode Reader for .NET is a .NET component that can recognize linear and 2D barcode images. It can be used in



Product Package Overview




Installation

Add BarcodeLib.BarcodeReader.dll into your .NET project reference.




Requirements

.NET 2.0 or above.




How to read barcode image?

Read barcode from image is a simple task.


Here is the sample code.

String[] datas = BarcodeReader.read("C:/YourBarcodeImage.gif", BarcodeReader.CODE39);

Complete demo source code is under test-src folder.




How to get supplement barcode data?



For barcode EAN 8, EAN 13, UPC-A, UPC-E, their barcode image may contain 2 or 5 digits supplement barcode, .NET Barcode Reader will add supplement barcode data to the main barcode data.

For example, .NET barcode reader will return data as "123450512345" for above sample image. The First 7 digits "1234505" is UPCE data, and the last 5 digits "12345" is UPCE supplement data.



About UPC-E data



For UPC-E barcode, usually there are 8 digits printed on the barcode label. The first digit is UPC-E number system, valid values are 0 or 1. The next 6 digits are UPC-E data, and the last one is checksum.

Our library will return 6 digits data and the last one checksum. Developer should use the first 6 digits as UPC-E data, according to UPC-E specification.

For the above barcode image, 0 is the number system, 123450 is the UPC-E data, and 5 is the checksum. Our library will return 1234505, plus suppliment barcode 12345. So the final output will be 123450512345.