How to Read Code 39 Barcode in .NET Library
Code 39 (also known as "USS Code 39", "Code 3/9", "Code 3 of 9", "USD-3", "Barcode 3 of 9", "Type 39") is a linear barcode symbology that can encode upper-case alphanumeric A-Z and 0-9 and some special characters, with lower-case a-z added for Code 39 Extension.
Code 39 BizCode Barcode Reader for .NET can efficiently scan standard Code 39 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 39 Reader for .NET Features
|
Code 39 Readable Data: |
- Numeric data: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 - Uppercase letters: A - Z - Seven special characters: -, $, :, /, ., + |
|
Code 39 Extension Data: |
Standard ASCII characters 0-127 (default: ISO/IEC 646) |
|
Supported Image Formats |
Png, Jpeg, Gif, Bmp and Tiff |
|
Supported Orientations |
0, 90, 180 or 270 degrees |
|
Code 39 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 39 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 39 .NET Image Objects using C#, VB.NET Class
using BusinessRefinery.Barcode;
using BusinessRefinery.Barcodes.Reader;
BusinessRefinery.Barcode.Linear barcode = new Linear();
barcode.Symbology = Symbology.CODE39;
barcode.Code = CODE39";
Bitmap bmp = barcode.drawBarcodeOnBitmap();
string[] barcodes = BarCodeReader.scanBarCode(bmp,
BusinessRefinery.Barcodes.Reader.BarCodeType.CODE39);
Dim barcodes As String() = BarCodeReader.scanBarCode(bmp,
BusinessRefinery.Barcodes.Reader.BarCodeType.CODE39)
How to Read Code 39 Image File using C#, VB.NET Class
using BusinessRefinery.Barcode;
using BusinessRefinery.Barcodes.Reader;
BusinessRefinery.Barcode.Linear barcode = new Linear();
barcode.Symbology = Symbology.CODE39EX;
barcode.Code = "Code39";
barcode.drawBarcode2ImageFile("c://code39ex.png");
string[] barcodes = BarCodeReader.scanBarCode("c://code39ex.png",
BusinessRefinery.Barcodes.Reader.BarCodeType.CODE39EXTENDED);
Dim barcodes As String() = BarCodeReader.scanBarCode("c://code39.png",
BusinessRefinery.Barcodes.Reader.BarCodeType.CODE39)