How to Read UPC-A Barcode in .NET Library
UPC-A is a commonly-used linear barcode symbologies specified by GS1 specification. It can encode 12 numeric digits only (0-9) with the last one being the checkdum digit for data security. If you need to encode more data, you need a UPC-A+2 or a UPC-A+5, i.e. UPC-A barcode with a two-digit or five-digit addon symbol / supplement.
UPC-A BizCode Barcode Reader for .NET is a professional and time-tested barcode scanner component library designed to help developers to easily scan, decode linear & matrix / 2D barcodes in image files or .NET image objects. UPC-A, as well as UPC-A with a 2-digit or 5-digits addon symbol can be decoded in no time, with simple Visual C# or Visual Basic.NET programming. Sample codes are given below for your easy barcode recognition.
UPC-A Reader for .NET Features
UPC-A Types: |
- UPC-A - UPC-A+2 - UPC-A+5 |
UPC-A Readable Data: |
12 digits of numeric data including 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 |
Supported Image Formats |
Commonly used image formats are supported incuding: Png, Jpeg, Gif, Bmp and Tiff, etc. |
Barcode Orientations |
0, 90, 180 or 270 degrees of rotation |
|
UPC-A 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 UPC-A .NET Image Objects using C#, VB.NET Class
// Read a UPC-A barcode .NET object
string[] barcodes = BarCodeReader.scanBarCode(bmp,
BusinessRefinery.Barcodes.Reader.BarCodeType.UPCA);
' Read a UPC-A barcode .NET image object using VB.NET
Dim barcodes As String() = BarCodeReader.scanBarCode(bmp,
BusinessRefinery.Barcodes.Reader.BarCodeType.UPCA)
How to Read UPC-A .NET Barcode Image using C#, VB.NET Class
// Read a UPC-A barcode image file using C#
string[] barcodes = BarCodeReader.scanBarCode("c://code128.png",
BusinessRefinery.Barcodes.Reader.BarCodeType.UPCA);
' Read a UPC-A barcode image file using VB.NET
Dim barcodes As String() = BarCodeReader.scanBarCode("c://upca.png",
BusinessRefinery.Barcodes.Reader.BarCodeType.UPCA)