BizCode Barcode Generator for Winforms
The most robust & powerful barcode component for Microsoft .NET Windows Forms
Quick Overviews
  • Professional barcode control
  • Flexible controls provided
  • Support WinForms projects
  • Linear & 2D barcodes support
  • Winforms Data-binding support
How to Encode UPC-A Data in .NET WinForms
BusinessRefinery.com Winforms Barcode UPC-A Generator is an advanced class library for Winforms that enables you to generator, create UPC-A barcodes directly within your Winforms applications, including Winforms Web forms, Crystal Reports for Winforms, SSRS for Winforms and Internet Information Service.
Winforms Barcode UPC-A Generator support UPC-A supplement 2-digit barcode and UPC-A supplement 5-digit barcode to be encoded in your Winforms applications. Here’s a comprehensive developer guide for encoding UPC-A valid character; if you want more information on UPC-A size and image, please link to:
UPC-A Data Related Properties

Symbology

With Barcode Generator for Winforms, users are allowed to encrypt Code 39 and Code 39 Extension barcode encodable character sets using Symbology property.

Winforms UPC-A Barcode Generator encodes:
  • 0, 1, 2, 3, 4, 5, 6, 7, 8, 9

Code

With Barcode Generator for Winforms, users are allowed to control Code 39 and Code 39 Extension barcode data length using Code property.

Supplement Code

With Barcode Generator for Winforms, users are allowed to add EAN-2 or EAN-5 barcode for UPC-A barcode using SupplementCode property.

Check Digit Calculation

With Barcode Generator for Winforms, users are allowed to calculate and display an optional Modulo 43 check digits for Code 39 and Code 39 Extension barcodes as they wish using AddChecksum and DisplayChecksumDigit properties.

Human-readable Text

With Barcode Generator for Winforms, users are allowed to show human-readable text with customized text style under generated Code 39 and Code 39 Extension symbols DisplayText and Textfont properties.
Customize UPC-A Barcode Data in Winforms
Ensure have installed those programs before you encrypt UPC-A valid data in .NET Winforms:
  • Microsoft .NET Framework 2.0/3.0/4.0
  • Microsoft Visual Studio 2005/2008/2010 (Express, Professional & Standard Edition)
  • Barcode Generator for Winforms installed
Customize UPC-A Barcode Images in Windows Forms Using BarcodeControl
  1. Add .NET Winforms Barcode Control onto your .NET Visual Studio Toolbox;
  2. Drag and drop the WinLinearBarcode control into the Forms;
  3. You will see a barcode image generated;
  4. Right click you mouse to activate barcode setting panel and choose Symbology to UPC-A;
  5. Select Symbology, Code, SupplementCode, AddChecksum, DisplayChecksumDigit, DisplayText and Textfont respectively to customize your UPC-A barcodes.
Encode UPC-A Barcode Data in Winforms Using C#, VB.NET Class
using BusinessRefinery.Barcode;

Linear barcode = new Linear();
barcode.Symbology = Symbology.UPCA;
barcode.Code = "01234567890";

// Add check digit for UPC-A barcode
barcode.AddChecksum = true;

// Display UPC-A barcode human-readable text with customized
font style

barcode.DisplayText = true;
barcode.TextFont = new Font("Arial", 11.0f, FontStyle.Bold);

barcode.drawBarcode2ImageFile("c:/upc-a-csharp.gif");
Dim barcode As BusinessRefinery.Barcode.Linear = 
New BusinessRefinery.Barcode.Linear()

// Add EAN-2 barcode for UPC-A barcode
barcode.Symbology = BusinessRefinery.Barcode.Symbology.UPCA_2
barcode.Code = "01234567890"
barcode.SupplementCode = "12"

' Display UPC-A barcode human-readable text with customized
font style

barcode.DisplayText = true
barcode.TextFont = new Font("Arial", 11.0f, FontStyle.Bold)

barcode.drawBarcode2ImageFile("c:/upc-a-2-vb-net.gif")