UPC-A C#.NET Integration Tutorial

Generating UPC-A and UPC-A Supplement Barcodes Using C#.NET

Barcode for C#
.NET Imaging Component
Home > Barcode in C# > Linear > UPC-A
Raster Edge provides a set of solutions for the integration of UPC-A in .NET application. .gif, .tiff, .png, .jpeg, and .bmp barcode images carrying UPC-A symbols could be generated in a variety of applications using Visual C# .NET. Microsoft Visual Studio 2005/2008/2010 is supported.
Related .net document control helps:
asp.net pdf document viewer c#: ASP.NET PDF Document Viewer in C#: open, display, view, annotate, redact Adobe PDF files online in ASP.NET MVC & WebForm...
c# asp.net excel viewer: ASP.NET Excel Viewer in C# Control (MVC & WebForms): view Office Excel document in web browser.
asp.net document viewer example: EdgeDoc:ASP.NET Document Viewer C# Control: Open, view, annotate, redact, convert documents online in C#, VB.NET, AS...
c# asp.net mvc document viewer: ASP.NET MVC Document Viewer: view, annotate, redact files on ASP.NET MVC web projects
asp.net pdf viewer using c#: ASP.NET PDF Viewer Control: view, navigate, zoom Adobe PDF document in C# ASP.NET
asp.net mvc image viewer: ASP.NET Image Viewer Control(MVC & WebForms): view, annotate, redact, convert image files in html, JQuery
asp.net sharepoint document viewer control: ASP.NET SharePoint Document Viewer: view, annotate, redact documents in SharePoint
UPC-A is used in the United States for labeling consumer good in stores. UPC-A barcodes on good is used to identify good and suggesting manufacture code and product code of each item. Books, magazines, as well as newspapers in United States are labeled using UPC-A.
UPC-A in C#.NET - Overview
UPC-A Generation - Sample Code in Visual C# .NET
using RasterEdge.Barcode.Bean;

//Create BarCode object to print UPCA using C#
BarCode upca= new BarCode();

upca. Symbology = Symbology. UPCA; //Set barcode symbology type to UPCA, UPCASup2, UPCASup5

upca.CodeToEncode = "1122334455"; //Input Data in UPCA;

//How to Print Add-on symbol beside UPC-A

upca.SupplementCode = "02"; // Input supplement data in the add-on symbol; 2 or 5 digits; numeric
upca.SupplementHeight = 0.8f; // Set Supplement bar height; value equals supplement bar height/main bar height
upca.SupplementSpace = 15; // Space between barcode and supplement barcode
//Set UPC-A image size

upca.BarcodeUnit = BarcodeUnit.Pixel; // Unit of measure, Pixel, Cm and Inch are supported.

upca.X = 2; // UPC-A bar module width (X dimention)
upca.Y = 60; // UPC-A bar module height (Y dimention)

// Size margin around UPC-A symbol

upca.LeftMargin = 0; // ≤ 10X
upca.RightMargin = 0; // ≤ 10X
upca.TopMargin = 0;
upca.BottomMargin = 0;

upca.DPI = 72; // Set image resolution in DPI.
upca.Orientation = Orientation.Degree0; // Orientation, 90, 180, 270 degrees supported