barcode .NET sdk  >  print barcode with C#  >  upce barcode encoding in c#


C# UPC-E Barcode Generator

draw, create UPC E barcode in C# for .NET project templates in Visual Studio 2005 and up


Overview

Keepdynamic.com supply UPC-E C# .NET Barcode Generator for the creation of UPC-E barcodes in your C# .NET framework projects. UPC-E is also known as Universal Product Code version E, UPC-E Supplement 5/Five-digit Add-On, UPC-E Supplement 2/Two-digit Add-On, GS1-12, UCC-12.

Related solutions for generating UPC-E image in C#.NET



Features

Technologies of UPC-E C# .NET Creator

C# .NET UPC-E Barcode Creator helps you generate UPC-E barcodes that you probably need in your C# .NET applications. It is entirely built in .NET 2.0 and supports .NET 2.0, 3.0, 3.5, 4.0. Bar coding of UPC-E in C# .NET classes and console applications is easy. Using this C# .NET Barcode Creator UPC-E barcodes can also be easy to be generated in ASP.NET web projects, Microsoft Windows Forms, SQL Server Reporting Services (SSRS), and Crystal Reports.

Barcode images generated by C# .NET UPC-E Barcode Creator

Image formats supported by this UPC-E C#.NET barcode Creator include gif, jpeg, png, bmp, and tiff. Barcodes UPC-E can be rotated to 0, 90, 180, or 270 degrees based on specific requirements. The image size and other properties UPC-E may be adjusted to meet the users' specifications. High quality barcodes UPC-E are supported by this product without any distortion. Bearer bar for UPC-E barcode are easy to be generated.

Customization of C# .NET UPC-E Barcodes

Full functional features of C# .NET UPC-E Barcode Creator make the operation of barcode easy and simple. Using this UPC-E creator, the appearance of the human readable characters on UPC-E barcodes can be enabled or disabled. UPC-E C# .NET Barcode Creator provided the functionality of configuring the colors of foreground and background. It is easy to encode the returns, tabs and other functions into your C# .NET applications. Bearer bar is also easy to be generated for UPC-E.

UPC-E C# .NET Source code and Developer License

Complete C# .NET UPC-E Barcode Creator source code is provided with the purchasing of unlimited developer license. Royalty is free if purchasing a developer license.


Create UPC-E in C#.NET

//Create a new linear barcode object in C#.NET
//Select the barcode symbology as UPC-E from the barcode type list

BarCode barcode = new BarCode();
barcode.SymbologyType = SymbologyType.UPCE;

/*
 Set the encoding data to UPC-E barcode symbology.

 Valid data set of UPC-E consists of,
   Numeric Digits: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9

 UPC-A barcode encodes a fixed data length of 6 data digits
*/

barcode.CodeText = "123456";

/*
 Enbable the checksum option for UPC-E
 so that the barcode generator computes check digit to UPC-E automatically
 and the text of the check digit will not be diaplayed on UPC-E image
*/

barcode.EnableChecksum = true;

//Select the barcode graphic measurements as Pixel to UPC-E
barcode.GraphicsUnit = KeepDynamic.Barcode.Generator.GraphicsUnit.Pixel;

//Assign values of bar width and bar height to UPC-E barcode
barcode.X = 2;
barcode.Y = 75;

//Set the margins around the UPC-E symbol
barcode.LeftMargin = 0;
barcode.RightMargin = 0;
barcode.TopMargin = 0;
barcode.BottomMargin = 0;

//Assign a value to resolution for UPC-E image that is drawn to,
//Do not rotate the orientation of UPC-E image

barcode.Resolution = 72;
barcode.Rotate = Rotate.Rotate0;

//Display the characters encoded into the UPC-E symbology and
//Set the font style of the human readable text on UPC-E image

barcode.DisplayCodeText = true;
barcode.CodeTextFont = new Font("Arial", 11f, FontStyle.Regular);

//Set the export image format of UPC-E to PNG in C#
//Create UPC-E barcode image in C#

barcode.Format = ImageFormat.Png;
barcode.drawBarcode("C://barcode-upce-csharp.png");