Our Customers
Contact Us Email: support@barcodelib.com
Home > .NET WinForms Barcode > Windows Forms Barcode Generation Guide > UPC-E Barcode Generation Component for .NET Windows Forms Project
Download Barcode for .NET WinForms Trial

.NET Windows Forms UPC-E Barcode Generator

  • Fully integrated in .NET Framework development environments, like Visual Studio 2005 or greater
  • Easy to be added to Visual Studio Toolbox or as .NET WinForms project reference
  • Implement fast UPC-E barcode generation by draging and dropping .NET WinForms linear control
  • Generate and encode UPC-E barcode into several image formats locally or in .NET project memory
  • Create printable UPC-E barcodes in .NET WinForms RDLC Reports & Crystal Reports
  • Professional .NET WinForms barcode generator dll recognized in the industry
  • Offer Small Company & Single Developer, 5 Developers and Unlimited Developers License
.NET Windows Forms UPC-E Barcode Overview
UPC-E is the short version of UPC-A applied to extremely small products for it only has 6 characters. It allows for a more compact barcode by compressing/eliminating "extra" zeros.
UPC-E has Two-digit Add-On symbol and Five-digit Add-On symbol.
UPC-E barcode for .NET Windows Forms supports 0-9 ten characters.
Create UPC-E Barcode in .NET WinForms by Dragging and Dropping
  1. The first step is to add BarcodeLib.Barcode.WinForms.dll to your Visual Studio Toolbox and four items (QRCodeWinForm, DataMatrixWinForm, PDF417WinForm and LinearWinForm) are added.
  2. The second step is to drag LinearWinForm to the Windows form you have created, e.g. Form1.
  3. The third step is to change barcode settings through Properties window. Before that, you should choose UPC-E under Type item. Then, you may input the data you want to create (the original one is BL Sample).
    Other available settings are: size (UOM, ImageWidth, ImageHeight, BarWidth, BarHeight, LeftMargin, RightMargin, TopMargin and BottomMargin, ResizeImage, Resolution etc.), text style, color, image format and rotation.
  4. The last step is to run the project to see the created UPC-E barcode image.
Create .NET WinForms UPC-E Barcode Images in C# & VB.NET

C# & VB .NET Windows Forms UPC-E barcode Generation

At first, you should add reference (BarcodeLib.Barcode.WinForms.dll) to your .NET project. Then, you are able to start encoding. For example:
     Dim upce As New BarcodeLib.Barcode.Linear()
upce.Type = BarcodeType.UPCE
upce.Data = "199032"

upce.UOM =UnitOfMeasure.INCH
upce.ImageFormat = System.Drawing.Imaging.ImageFormat.Bmp

'Generate and output UPC-E barcode image into your system
upce.drawBarcode ("c:/upce.bmp")
This is an example for UPC-E barcode generation in VB.NET Windows Forms.
     BarcodeLib.Barcode.Linear upce = new BarcodeLib.Barcode.Linear();
upce.Type = BarcodeType.UPCE;
upce.Data = "199032";

upce.UOM =UnitOfMeasure.INCH;
upce.ImageFormat = System.Drawing.Imaging.ImageFormat.Bmp;

//Generate and output UPC-E barcode image into your system;
upce.drawBarcode ("c:/upce.bmp");
This is an example for UPC-E barcode generation in C#.NET Windows Forms.
Supported .NET Windows Forms Barcode Types
WinForms 1D Barcodes:
WinForms 2D Barcodes:
2D Barcodes Supported: Data Matrix, PDF 417, QR-Code.

See Also: Related Barcoding Tutorials

.NET Windows Forms Visual C# & Visual Basic Barcoding Tutorials