Code 128 Image Sample - pqScan.com
.NET Barcode Scanner SDK Building up Perfect Quality Barcode Reading Software for .NET Online Demo Download Trial Purchase Now

.NET Barcode Reader: Recognize UPC-A

back to home  >  .NET Barcode Scanner SDK  >  Read Barcodes in .NET  >  How to Recognize UPC-A 1D Barcode

Do you know how to scan UPC-A barcode in .NET windows forms and web applications? Do you know what APIs that can easily perform UPC-A reading and scanning? Do you know what is UPC-A? All these aspects will be talked on this page.

For .NET WinForms and Web Applications

To scan and recognize UPC-A barcode image from .NET windows and web applications, even a WPF project, you may need a control library for .NET barcode reading. The pqScan .NET Barcode Scanner is such a good library. From page .NET Barcode Reader Library, you can get all barcode recognition features that our software provides. And on this page, we will only talk about UPC-A linear bar code recognition.

Advanced UPC-A bar code scanning features are well compiled into a small and strong-named dll library, called pqScan.BarcodeScanner.dll. By adding this dll into your Visual Studio .NET, C#, VB.NET WinForms or web program, you can directly use all linear barcode reading features it provide, such as reading UPC-A barcode from rotated image (180 degree), returning the array of UPC-A barcode value at fast speed, recognizing all UPC-A barcodes at a time, etc.

We provide several APIs for performing UPC-A symbol scanning and reading in .NET desktop and ASP.NET site projects. If you want to use these APIs, please firstly make sure your developing environment is under Windows system. And your computer should install .NET Framework 2.0 version or above. Our Barcode Reader Software for .NET supports programming in Visual C# and Visual Basic .NET programming language.

API for Performing UPC-A Scanning

In this section, you will see nine APIs that will be used in .NET barcode reading project for UPC-A bar code symbology. The first three APIs are available for recognizing all barcodes including UPC-A from loaded image file (in bitmap, stream, or local file path form). And the supportive image formats are common raster images, like bmp, jpeg, jpg, gif, png, tiff, tif, etc. The second three APIs are used if you only want to detect and decode UPC-A barcode. This is a good way to save .NET barcode recognition time (instead of reading the whole image). In order to improve UPC-A barcode recognition accuracy, we provide another three APIs for one UPC-A barcode recognition. It is suitable when there's only one barcode on your image.

public static BarcodeResult[] Scan(Bitmap bitmap);
public static BarcodeResult[] Scan(Stream stream);
public static BarcodeResult[] Scan(string filename);

public static BarcodeResult[] Scan(Bitmap bitmap, BarCodeType barType);
public static BarcodeResult[] Scan(Stream stream, BarCodeType barType);
public static BarcodeResult[] Scan(string filename, BarCodeType barType);

public static BarcodeResult ScanSingle(Bitmap bitmap);
public static BarcodeResult ScanSingle(Stream stream);
public static BarcodeResult ScanSingle(string filename);

Online Demo: Read UPC-A

You can go to UPC-A Reading Demo Codes in C# and VB.NET for more coding help. If you want to scan and read barcode on PDF document page, please see online C# tutorial for PDF barcode reading, online VB.NET tutorial for PDF barcode scanning.

Basic Knowledge of UPC-A

Similar to 1D barcode EAN-13 scanning in .NET, the decoded data of UPC-A is also digits from 0 to 9. And it should contain 12 digits in all, including a check digit. Then what do these digits stand for? UPC-A barcode begins with a number system data "0", then the manufacture code, product code and check digit accordingly. Now this linear barcode enjoys popularity in retail in North America. Countries, like UK, Australia, and New Zealand are also using UPC-A for tracking trade items in stores. If you are interested in this bar code, you may directly refer to Wikipedia UPC-A definition to see more.

pqScan SDK
Barcode Scanner for .NET
Online Guide
How to Scan Barcode
Barcode Type
.NET QR Code Decoding .NET PDF-417 Decoding .NET Data Matrix Decoding .NET Aztec Code Decoding .NET Code 128 Decoding .NET Code 39 Decoding .NET EAN-13 Decoding .NET EAN-8 Decoding .NET UPC-E Decoding .NET Code 93 Decoding .NET Codabar Decoding .NET ITF-14 Decoding View All Barcodes >>
I just felt right to use your product. It works great and I am happy with our new project. Your group did a GREAT job! Thank you for all your help... Simon Marsh