How to Read EAN-13 Barcode in .NET Library
EAN-13 (originally named European Article Number) is a linear barcode symbology specified by GS1 specification. EAN-13 can encode 13 digits of numeric data only, which can be easily decoded by BizCode Barcode Reader control library as text strings.
EAN-13 BizCode Barcode Reader for .NET can efficiently scan EAN-13 barcode images in .NET Framework 2.0 and above versions. Supported Microsoft Visual Studio projects include ASP.NET Web Applications, Visual C# and VB.NET Class Library & Console Applications. Please follow the user manual below to have fun reading & scanning EAN-13 barcode images.
EAN-13 Reader for .NET Features
EAN-13 Readable Data: |
Numeric data: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 |
Supported Image Formats |
Png, Jpeg, Gif, Bmp and Tiff |
Barcode Orientations |
0, 90, 180 or 270 degrees |
Programming Language |
Visual C#, Visual Basic.NET (VB.NET) |
EAN-13 Reader for .NET Requirements
Windows OS
- Microsoft Windows 7 - Windows Server 2008 - Windows Vista - Windows Server 2003 - Windows XP |
Development Environments
- .NET 2.0/3.0/4.0 - Visual C#, Visual Basic- Visual Studio 2005/2008/2010 - .NET Class and Console Applications - ASP.NET Web Forms |
Install EAN-13 Reader for .NET
- Download and unzip BizCode Reader for .NETpackage;
- Copy BusinessRefinery.Barcodes.Reader.dll to your project folder. (please do not copy to your .NET project bin folder, during building, Visual Studio will do it for you.)
- Add BusinessRefinery.Barcodes.Reader.dll to your .NET barcode reading project reference.
How to Read EAN-13 .NET Image Objects using C#, VB.NET Class
using BusinessRefinery.Barcode;
using BusinessRefinery.Barcodes.Reader;
BusinessRefinery.Barcode.Linear barcode = new Linear();
barcode.Symbology = Symbology.EAN13;
barcode.Code = "123456789013";
Bitmap bmp = barcode.drawBarcodeOnBitmap();
string[] barcodes = BarCodeReader.scanBarCode(bmp,
BusinessRefinery.Barcodes.Reader.BarCodeType.EAN13);
Dim barcodes As String() = BarCodeReader.scanBarCode(bmp,
BusinessRefinery.Barcodes.Reader.BarCodeType.EAN13)
How to Read EAN-13 Image File using C#, VB.NET Class
using BusinessRefinery.Barcode;
using BusinessRefinery.Barcodes.Reader;
BusinessRefinery.Barcode.Linear barcode = new Linear();
barcode.Symbology = Symbology.EAN13;
barcode.Code = "987654321013";
barcode.drawBarcode2ImageFile("c://ean13.png");
Dim barcodes As String() = BarCodeReader.scanBarCode("c://ean13.png",
BusinessRefinery.Barcodes.Reader.BarCodeType.EAN13)