Generate UPC-A Barcodes in C# with UPC-A Generation SDK

Create & print UPC-A barcode images in C#.NET applications using C# barcode SDK
Barcode in C# > Linear > UPC-A
UPC-A .NET Barcode Control/SDK for C# - Benefits
Mature UPC-A Generation DLL
UPC-A Visual C# Class Library lets you easily insert barcoding features into C# applications in a reliable manner. Terrek provides free barcode generator DLL for C# trial package to be downloaded.
System Compatibility
UPC-A Barcode Generation SDK could be easily installed on computer which are running on Windows 7, Windows Server 2008, Windows Vista, Windows Server 2003 and Windows XP operating systems.
Support Project Types
UPC-A barcoding and printing capabilities are easily added into Windows Forms, Class Library, Console Application and Windows Control Library applications. It is also compatible with Crystal Report and Reporting Service for .NET.
Barcode Generation
UPC-A and UPC-A 2 or 5 digits Add-on barcode generation are supported by this barcode generator. .NET programmers are entitled to customize human-readable text and checksum digit of UPC-A.
Multiple Barcode Types Supported in C#.NET
Barcode Generation Library for C#.NET - UPC-A Overview
UPC-A C# .NET Control is fully-integrated barcode visual designer which helps you add barcode images into Windows Forms applications easily using Visual Studio 2005, 2008 and 2010. Complete tutorial provided and special barcode know-how is not required.
UPC-A Introduction
UPC-A is a numeric-only barcode symbology which widely used in point-of-sale systems. Detailed Information can be encoded in the five-digit Add-On Symbol and when using a five-digit Add-On Symbol, a two-digit Add-On Symbol cannot also be used.
UPC-A Encodable Characters
  • 0, 1, 2, 3, 4, 5, 6, 7, 8, 9
  • 12 digits with checksum digit is available
UPC-A .NET Library/DLL for C#.NET - UPC-A Generation
Create UPC-A Barcodes in Windows Application using C# class library
  • Download Terrek.Dotnet.zip, save it in local drive, and unzip;
  • Add Terrek.Barcode.DotNET.dll to the C# Winform project reference;
  • Drag and drop a button to the form, and double-click the button;
  • In the Form1.cs, copy the following sample code to the project
Implement UPC-A/GTIN 12 Barcodes in ASP.NET using C# class
  • Download Terrek ASP.NET barcode trial and unzip;
  • Add Terrek.Barcode.ASPNET.dll to your project. Do not copy the DLL to the bin directory, Visual Studio will do so automatically;
  • Open your Visual Studio in Web Forms and add Terrek.Barcode.ASPNET.dll to your reference in "Solution Explorer";
  • Go to "Barcode" folder in the trial package, copy files "barcode.aspx" and "barcode.aspx.cs", to the project where aspx barcodes are generated;
  • Right click on the aspx name in "Solution Expolrer" and select "View Code";
  • Copy the sample C# code in to the project and run the program.
Insert UPC-A Barcodes into C# - Free C# Sample Code
using Terrek.Barcode;
BarcodeControl barcode = new BarcodeControl();
barcode. Symbol = BarcodeSymbol.UPCA;;
barcode.BarcodeData = “12345678901”;
barcode.BarWidth = 1;
barcode.BarHeight =40;
barcode.DisplayData = true;
barcode.TextStyle = new Font("Arial", 9f, FontStyle.Regular);
barcode.TextColor = Color.Black;
barcode.TextSpace = 6;
barcode.DotsPerInch = 96;
barcode.Rotation = Rotation.Degree0;
barcode.BarcodeFormat = ImageFormat.Png;
barcode.drawBarcode("C:\\upc_a.png");