How to Generate UPC-A in .NET WinForms

How to Create & Integrate UPC-A Barcode Images in .NET WinForms

  • Simple linear UPC-A generating in .NET WinForms through drag & drop implementation
  • Easy to print and create linear UPC-A in .NET Winforms class and console applications
  • Light-weight, easy-to-use 1D UPC-A generating control used widely
  • Print and save linear UPC-A as gif, jpeg, png, tiff, and bitmap image files locally
  • Easily add supplemental 2 & 5 digits for linear UPC-A barcodes in Windows Forms
  • Automatically compute & add check digit for linear UPC-A barcodes
  • Purchase with flexible royalty-free and reliable Developer Licenses
.NET WinForms UPC-A Barcode Component Overview
UPC-A Barcode Encoder Component is a barcode function of KA.Barcode for .NET WinForms, which is a powerful barcode control for generating UPC-A, UPC-A+2, UPC-A+5 and other linear, matrix barcodes in .NET Windows Forms, Crystal Reports, SQL Server Reporting Services, C#, VB.NET class & console applications. Developers can easily adjust generated picture through various settings with the user-friendly interface.
UPC-A Barcode Overview in WinForms
UPC-A, also known as Universal Product Code version A, UPC-A Supplement 5/Five-digit Add-On, UPC-A Supplement 2/Two-digit Add-On, UPC-A+5, UPC-A+2, UPC Code, UPC Symbol, GTIN-12, GS1-12, UCC-12, is the standard version of UPC barcode. UPC-A is used for marking products which are sold at retail in the USA.
UPC-A Barcode Overview in WinForms
  • 0, 1, 2, 3, 4, 5, 6, 7, 8, 9
Download UPC-A Barcode Component in .NET WinForms
Developers are allowed to download KA.Barcode for .NET WinForms evaluation without charge. The unzipped trial package includes:
  • "KeepAutomation.Barcode.Windows.dll"
  • User Manual
  • End User License Agreement
  • Order Page
Pay Attention: This trial version can only be used for demo or testing purposes because the generated UPC-A barcode image contains a "KA Barcode" watermark.
Integrate UPC-A Barcode in .NET Windows Forms
It is very simple and convenient to generate UPC-A barcode image in .NET Windows Forms with this barcode control.
  1. Add "KeepAutomation.Barcode.Windows.dll" from the unzipped package to your Visual Studio Toolbox.
  2. Find "BarCodeControl" generated in your Visual Studio Toolbox.
  3. Drag and drop "BarCodeControl" from Visual Studio Toolbox to your project form.
  4. Go to the Properties window and choose UPC-A barcode type to get your UPC-A barcode image.
  5. Customize your UPC-A barcode image through the "Properties" window.
Create UPC-A in .NET WinForms Using C# or VB.NET
  1. First of all, you should add reference "KeepAutomation.Barcode.Windows.dll" to your .NET WinForms project.
  2. Then, you may copy the following C# or VB demo code to generate UPC-A barcode image in .NET WinForms.
C# Sample code
     BarCode upca = new BarCode();
upca.Symbology = KeepAutomation.Barcode.Symbology.UPCA;
upca.CodeToEncode = "12345678901";

VB Sample code
     Dim upca As KeepAutomation.Barcode.Bean.BarCode = New KeepAutomation.Barcode.Bean.BarCode

upca.Symbology= KeepAutomation.Barcode.Symbology. UPCA
upca.CodeToEncode = "12345678901"

How to Generate UPC-A 2&5 Digits Add-on Barcodes in .NET WinForms
UPC-A barcode SDK allows users to add 2 or 5 digits supplemental data to the UPC-A barcode. Once encode the UPC-A 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.
C# Sample code
     BarCode upcasup2 = new BarCode();
upcasup2.Symbology = KeepAutomation.Barcode.Symbology.UPCASup2;
upcasup2.CodeToEncode = "12345678901";
upcasup2.X = 2;
upcasup2.SupplementCode = "12";
upcasup2.SupplementHeight = 0.8f;
upcasup2.SupplementSpace = 15;
VB Sample code
     Dim upcasup2 As KeepAutomation.Barcode.Bean.BarCode = New KeepAutomation.Barcode.Bean.BarCode

upcasup2.Symbology = KeepAutomation.Barcode.Symbology.UPCASup2
upcasup2.CodeToEncode = "12345678901"
upcasup2.SupplementCode = "12"
upcasup2.SupplementHeight = 0.8f
upcasup2.SupplementSpace = 15
upcasup2.X = 2
upcasup2.ImageFormat = System.Drawing.Imaging.ImageFormat.Gif()
Free Trial DownloadWinForms UPC-A.NET Class UPC-AUsing C#Using VB.NETData Matrix for .NET WinFormsPDF417 for .NET WinFormsQR Code for .NET WinFormsmoreCodabar for .NET WinFormsCode 39 for .NET WinFormsCode 128 for .NET WinFormsEAN-8 for .NET WinFormsEAN-13 for .NET WinFormsEAN 128 for .NET WinFormsIntelligent Mail for .NET WinFormsInterleaved 2 of 5 for .NET WinFormsISBN for .NET WinFormsITF-14 for .NET WinFormsRM4SCC for .NET WinFormsUPC-E for .NET WinFormsmore
KeepAutomation provides complete barcode automation solutions. We recommend the customers use high quality document controls: ASP.NET Document Viewer, ASP.NET MVC Document Viewer, Document Viewer ASP.NET C#, ASP.NET PDF Viewer, ASP.NET Word Viewer, ASP.NET Excel Viewer, ASP.NET PDF Editor, MVC PDF Viewer, ASP.NET Annotate PDF, c# pdf sdk, C# View, edit PDF online , C# Convert PDF to Tiff, C# Convert PDF to text, txt, .net imaging sdk, C# PDF metadata edit from