KA.Barcode for .NET WinForms
How to Generate UPC-E in .NET WinForms
How to generate & create linear UPC-E barcode images in .NET WinForms, C#, VB.NET class library
  • Written completely in Visual C#.NET pure code for .NET 2.0, 3.0, 3.5 and greater
  • Easy UPC-E barcode generation & integration into .NET WinForms, Crystal Reports, Reporting Services
  • Generate UPC-E 1D bar codes in Visual C#, VB.NET class & console applications
  • Print UPC-E in Png, Jpeg/Jpg, Gif, Tiff, Bmp/bitmap image formats and save to local files
  • Support add a two-digit or five-digit addon to create EAN-8+2, EAN-8+5 barcodes
  • Compatible with latest GS1 general specification to draw scannable EAN-8
  • Multiple UPC-E barcode settings adjustable through setting panel
  • Automatically add obligatory checksum digit as required in GS1 specification
Barcode Generator for .NET WinForms allows developers & designers to easily create UPC-E as well as other 20+ linear, matrix barcodes with outstanding quality in .NET windows forms applications, Crystal Reports, SQL Server Reporting Services, C#, VB.NET class library. Besides, users can easily adjust UPC-E barcode settings like size, text fonts through setting panel or programming.
UPC-E Overview in .NET WinForms Control
UPC-E, also named Universal Product Code version E, UPC-E+2, UPC- E Supplement 2 (Two-digit Add-On), UPC- E +5, UPC-E Supplement 5 (Five-digit Add-On), UCC-12, GS1-12, is a commonly-used linear barcode type to mark small goods sold at point of sale.

UPC-E Generator for .NET WinForms Encodes

  • Numeric digits 0-9
  • 6 digits excluding checksum, which is automatically added by KA
UPC-E Generation in .NET WinForms SDK

How to Drag & Drop UPC-E Control to Windows Forms

  1. 1.
    In Visual Studio, right-click in "Toolbox" and select "Choose Items..."
  2. 2.
    In the pop-up window, click button "Browse..." and select "KeepAutomation.Barcode.Windows.dll"
  3. 3.
    Then, you'll see "BarCodeControl" in Visual Studio toolbox
  4. 4.
    Drag and drop "BarCodeControl" into the project forms and a Code 128 barcode is generated
  5. 5.
    Now, you can change barcode types and customize image settings in the "Properties" window

How to Generate UPC-E in .NET WinForms Using C# or VB.NET

Simply using the following C# or VB.NET sample code to create & print UPC-E barcodes in .NET Windows Forms applications.
using KeepAutomation.Barcode.Bean;

BarCode upce = new BarCode();
upce.Symbology = KeepAutomation.Barcode.Symbology.UPCE;
upce.CodeToEncode = "123456";
Dim upce As KeepAutomation.Barcode.Bean.BarCode = New KeepAutomation.Barcode.Bean.BarCode

upce.Symbology = KeepAutomation.Barcode.Symbology.UPCE
upce.CodeToEncode = "123456"

How to Generate UPC-E 2&5 Digits Add-on Barcodes in .NET WinForms

UPC-E barcode SDK allows users to add 2 or 5 digits supplemental data to the UPC-E barcode. Once encode the UPC-E add-on barcodes, the size related properties needs to be set. Users may add supplemental digits using "Symbology" property and customize add-on barcode size by adjusting "SupplementCode", "SupplementHeight", "SupplementSpace" respectively.
using KeepAutomation.Barcode.Bean;

BarCode upcesup2 = new BarCode();
upcesup2.Symbology = KeepAutomation.Barcode.Symbology.UPCESup2;
upcesup2.CodeToEncode = "123456";
upcesup2.X = 2;
upcesup2.SupplementCode = "12";
upcesup2.SupplementHeight = 0.8f;
upcesup2.SupplementSpace = 15;
Dim upcesup2 As KeepAutomation.Barcode.Bean.BarCode = New KeepAutomation.Barcode.Bean.BarCode

upcesup2.Symbology = KeepAutomation.Barcode.Symbology.UPCESup2
upcesup2.CodeToEncode = "123456"
upcesup2.SupplementCode = "12"
upcesup2.SupplementHeight = 0.8f
upcesup2.SupplementSpace = 15
upcesup2.X = 2
upcesup2.ImageFormat = System.Drawing.Imaging.ImageFormat.Gif()