Our Customers
Contact Us Email: support@barcodelib.com
Home > .NET Barcode > C# Barcode Generation Guide > C#.NET UPC-E Barcode Generator Control, also supports C# UPC-A, C# EAN-8, C# EAN-13
Download Barcode for .NET Suite Trial

C#.NET UPC-E Barcode Generation Component

How to Generate & Print UPC-E Linear Barcode in C#.NET Library
  • High-credit & mature C#.NET UPC-E generator SDK for more than 10 years
  • Entirely built in managed C# code and compatible with both C# & VB class programming
  • Generate UPC-E barcode images in ASP.NET website, web form, IIS applications
  • Generate UPC-E barcode images in WinForms .NET projects with C# lib
  • Draw & print UPC-E barcode in Console Application & Reporting Services
  • Support Visual Studio .NET Framework 2.0, 3.0, 3.5, 4.0 and greater
Linear UPC-E C#.NET Barcode Introduction
Linear barcode, UPC-E, is a commonly-used numeric barcode symbology, which can encode 6 digit data and a check digit. It could also encode GTIN-12 data if this string starts with a zero and contains a sequence of four or five zeros. In the real applications, UPC-E is, sometimes, companied by 2-digit or 5-digit add-on symbols.
How to Generate UPC-E Images in C#.NET Class?
  1. Locate our C#.NET barcode generator dll in the free trial package and add it to your project reference.
  2. Add the same C#.NET barcode generator dll to your Toolbox item.
  3. You could generate UPC-E barcode with following sample C# codes.
     BarcodeLib.Barcode.Linear upce = new BarcodeLib.Barcode.Linear();
upce.Type = BarcodeType.UPCE;
upce.Data = "123456";

upce.BarColor = System.Drawing.Color.Blue;
upce.BarWidth = 1;
upce.LeftMargin = 7;
upce.RightMargin = 7;
upce.TextFontColor = System.Drawing.Color.Blue;

// You could also adjust other settings of UPC-E, like image format, rotate, background color etc.

// Save barcode image into your system
upce.drawBarcode("c:/upce.jpeg");

// Encode UPC-E barcode & output to byte array
byte[] barcodeInBytes = upce.drawBarcodeAsBytes();

// Draw UPC-E barcode to Graphics object
Graphics graphics = ...;
upce.drawBarcode(graphics);

// Generate UPC-E barcode and output to HttpResponse object
HttpResponse response = ...;
upce.drawBarcode(response);

// Output created UPC-E barcode to Stream object
Stream stream = ...;
upce.drawBarcode(stream);
Above Free UPC-E sample codes are built in Visual C# 2005
How to Create UPC-E Barcodes in ASP.NET Website with C# Lib?
  1. Locate Barcodelib.Barcode.ASP.NET.dll in the trial package and embed it in your web project.
  2. Integrate Barcodelib.Barcode.ASP.NET.dll to the VS Toolbox.
  3. Open the folder "barcode" and copy files "linear.aspx", "linear.aspx.cs " to your web project folder.
  4. Drag LinearASPNET from the Toolbox and drop it on the split part of your aspx page.
  5. Click generated barcode image and change barcode type to UPC-E in the Properties Window or generate an UPC-E barcode with C# UPC-E barcoding code.
How to Generate UPC-E Barcodes in C# WinForms Programs?
  1. Find BarcodeLib.Barcode.WinForms.dll in the trial package and embed it in your web project.
  2. Add BarcodeLib.Barcode.WinForms.dll to your Visual Studio Toolbox.
  3. Drag LinearWinForm to your windows form project.
  4. Click generated image and adjust its barcode type to UPC-E in the Properties Window or create an UPC-E image with above C# UPC-E barcoding code.
UPC-E Barcode Generator Supported Barcode Types
C# 1D Barcode Generation:
C# 2D Barcode Generation:
Linear barcode types available for UPC-E C#.NET Barcode Generator SDK: Codabar, Code 11, Code 2 of 5, Code 39, Code 93, EAN-8, EAN-13, Interleaved 2 of 5, ITF-14 (UPC Shipping Container Symbol), Code 128, EAN 128/GS1 128, MSI Plessey, Intelligent Mail, Planet, Postnet, RM4SCC (British Royal Mail), UPC-A, UPC-E.
2D barcode types available for UPC-E C#.NET Barcode Generator SDK: Data Matrix, PDF 417, QR Code.





Provides High Quality Barcode for .NET, Barcode for ASP.NET, Barcode for .NET WinForms, Barcode for C#,Barcode for VB.NET, UPC-E for .NET, UPC-E for C#, UPC-E for VB.NET, UPC-E for ASP.NET, UPC-E Barcode Generator SDKs for Windows Forms, Crystal Reports, SQL Server Reporting Services, and RDLC Reports.