How to Generate UPC-A in .NET WinForms Library
UPC-A (a.k.a Universal Product Code version A) is a UPC/EAN barcode labeling of consumer products in North America. To ensure data integrity, one digit of checksum is mandatory in every UPC-A. The check digit is used in UPC-A to verify that the UPC-A has been read correctly. This checksum is calculated according to additional digits in the UPC-A.
UPC-A Generator for .NET Winforms is a mature and easy-to-use .NET barcode generation component, written in C#, VB.NET and other development environment supported by .NET Framework. It allows developers to quickly and easily add barcode generation functionality to their Microsoft .NET applications.
.NET Winforms UPC-A Barcode Generator provides a set of advanced imaging options over image resolution, rotation and image file formats. It has the ability to export UPC-A barcodes to multiple image formats including: BMP, EMF, GIF, JPEG, PNG, and TIFF. Developers are able to read and recognize UPC-A from any image and at any angle.
UPC-A Generation is compatible with the latest barcode specification in GS1 system GS1 General Specification (Version 8). This page explain how to create your own UPC-A in .NET Winforms programs; you may get more specific user manuals here on
encoding UPC-A barcode,
customizing UPC-A barcode image, and
resizing UPC-A barcode.
UPC-A Generator for .NET Winforms Features
Encodable Characters | Support to encode: - 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 |
Supplementary Barcode | Support to add 2-digit & 5-digit supplementary barcode for UPC-A barcodes |
Barcode Specification | Support to generate & create accurate UPC-A barcodes according to GS1 General Specification (Version 8) |
High Quality | Directly draw high quality UPC-A barcodes images or graphics objects compatible with all printers |
Size Adjustments | Multiple barcode setting options for you to select, including module width, image width, color, rotation, resolution, text, etc. |
Human-Readable Text | Fully control human-readable text under UPC-A symbols with customize font style |
UPC-A Generator for .NET Winforms 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 - C#, VB.NET, Managed C++, Borland Delphi    for.NET - Visual Studio 2005/2008/2010 - .NET Windows Forms Application - .NET Class and Console Applications |
Install UPC-A Generator for .NET Winforms
- Download BizCode Generator for Winforms and unzip;
- Add reference: Add "BusinessRefinery.Barcode.Win.dll" to your .NET Winforms project reference;
- Add to toolbox: To add Barcode Control to your Windows Forms toolbox.
How to Drag & Drop Barcode Control into .NET Winforms projects?
- Install .NET Winforms Barcode Control;
- Add .NET Winforms Barcode Control onto your .NET Visual Studio Toolbox;
- Drag and drop the WinLinearBarcode control into the Forms;
- You will see a barcode image generated; more UPC-A barcode setting please see below.
How to Generate UPC-A with C#, VB.NET Class in .NET Winforms?
Copy those following sample code to your .NET Winforms projects:
using BusinessRefinery.Barcode;
Linear barcode = new Linear();
barcode.Symbology = Symbology.UPCA;
barcode.Code = "01234567890";
barcode.Resolution = 104;
barcode.Rotate = Rotate.Rotate180;
barcode.Format = ImageFormat.Gif;
barcode.drawBarcode2ImageFile("c:/upca-csharp.gif");
Dim barcode As BusinessRefinery.Barcode.Linear =
New BusinessRefinery.Barcode.Linear()
barcode.Symbology = BusinessRefinery.Barcode.Symbology.UPCA
barcode.Code = "01234567890"
barcode.Resolution = 104
barcode.Rotate = BusinessRefinery.Barcode.Rotate.Rotate270
barcode.Format = System.Drawing.Imaging.ImageFormat.Gif
barcode.drawBarcode2ImageFile("c:/upca-vb-net.gif")