How to Generate UPC-A in C# Library
UPC-A is also called 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. It is the standard format of Universal Product Code.
C#.NET UPC-A Barcode Generator is a mature Visual Studio .NET barcode generating class library with flexibilities and powerful functionalities. It provides an easy-to-use way for developers to generate and create UPC-A barcode in Visual C#.NET applications.
With
C#.NET UPC-A Barcode Generator Library, users are allowed to create barcode image into into JPEG, GIF, PNG, TIFF and Bitmap files in C#.NET projects. Besides, users can change the barcode text and image appearance by setting related settings.
C#.NET UPC-A Barcode Generator provides a complete barcode generating guide for users to generate UPC-A barcodes according to UPC-A Specification - GS1 General Specification (Version 8). You can get more specific tutorials here on
how to encode valid data for UPC-A,
how customize UPC-A barcode image, and
how to specify proper size for UPC-A.
UPC-A Generator for C#.NET 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 C#.NET 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 - Visual Studio 2005/2008/2010 - C#.NET Windows Forms Application - C#.NET Class and Console Applications - C#.NET Web Forms - C#.NET SSRS and Crystal Report |
Install .NET UPC-A Generator in C#.NET
Add Windows Forms Barcode Generating Reference to Your Project
- Unzip BizCode Generator for .NET Ultimate package;
- Add BusinessRefinery.Barcode.Win.dll to your Winforms project folder;
(The DLL will be copied to the bin directory automatically) - Then BusinessRefinery.Barcode.Win.dll is added on your .NET Winforms project.
Install .NET UPC-A Generator in C#.NET
Add ASP.NET Barcode Generating Reference to Your Project
- Unzip BizCode Generator for .NET Ultimate package;
- Add BusinessRefinery.Barcode.Web.dll to you ASP.NET project folder;
(The DLL will be copied to the bin directory automatically) - Then BusinessRefinery.Barcode.Web.dll is added on your ASP.NET project.
How to Generate UPC-A Barcode Image Using C# Class In .NET?
Copy those following sample code to your C#.NET 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");