How to Read Code 128 Barcode in .NET Library
Code 128 (also known as "ANS / AIM 128", "ANSI / AIM Code 128") is a popular linear barcode symbology specified by ISO/ IEC specification. Code 128 can encode all ASCII characters including alphanumeric A-Z, a-z, and 0-9 as well as some special characters like function code.
Code 128 BizCode Barcode Reader for .NET can efficiently scan standard Code 128 barcode images in Microsoft Visual Studio 2005/2008/2010 ASP.NET Web Applications, Visual C# and VB.NET Class Library and Console Applications with a high reading speed. Just follow the C#/ VB.NET sample code below and you will see.
Code 128 Reader for .NET Features
Code 128 Readable Data: |
- Numeric data: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 - Uppercase & lowercase letters: A â Z, a-z - Special characters |
Supported Code 128 Types |
Code 128A, Code 128B, Code 128C |
Supported Image Formats |
0, 90, 180 or 270 degrees |
Barcode Orientations |
0, 90, 180 or 270 degrees |
Programming Language |
Visual C#, Visual Basic.NET (VB.NET) |
|
Code 128 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 Code 128 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 Code 128 .NET Image Objects using C#, VB.NET Class
using BusinessRefinery.Barcode;
using BusinessRefinery.Barcodes.Reader;
BusinessRefinery.Barcode.Linear barcode = new Linear();
barcode.Symbology = Symbology.CODE128;
barcode.Code = "128128";
Bitmap bmp = barcode.drawBarcodeOnBitmap();
string[] barcodes = BarCodeReader.scanBarCode(bmp,BusinessRefinery.
Barcodes.Reader.BarCodeType.CODE128);
Dim barcodes As String() = BarCodeReader.scanBarCode(bmp,
BusinessRefinery.Barcodes.Reader.BarCodeType.CODE128)
How to Read Code 128 Image File using C#, VB.NET Class
using BusinessRefinery.Barcode;
using BusinessRefinery.Barcodes.Reader;
BusinessRefinery.Barcode.Linear barcode = new Linear();
barcode.Symbology = Symbology.CODE128;
barcode.Code = "Code128Reader";
barcode.drawBarcode2ImageFile("c://code128.png");
string[] barcodes = BarCodeReader.scanBarCode("c://code128.png",
BusinessRefinery.Barcodes.Reader.BarCodeType.CODE128);
Dim barcodes As String() = BarCodeReader.scanBarCode("c://code128.png",
BusinessRefinery.Barcodes.Reader.BarCodeType.CODE128)