BizCode Barcode Generator for .NET Ultimate
The most mature & flexible barcode SDK for Microsoft .NET Framework
Quick Overviews
  • Mature barcode creating SDK
  • Support every .NET IDEs
  • Support C#, VB.NET, etc.
  • Dynamic barcodes support
  • For all printers
How to Generate UPC-A in .NET Library
UPC, short for Unites Product Code, is generally used in USA and Canada. It is also called as well-known barcode in the word for its wide use in many fields. UPC is a linear numeric- only barcode with a fixed-length.
UPC-A Generator SDK for .NET is one part of BizCode Generator for .NET Ultimate, which consists of series of .NET barcode generating component to optimize the barcode generation and add advanced barcode printing features to the .NET projects.
This generator provides a set of options to optimize the barcode text and appearances. Besides, UPC-A barcodes images can be created JPEG, GIF, TIFF, BMP and PNG image files in System.Drawing.Imaging. Developers are able to change the barcode angles by setting image orientation of 0, 90, 180, 270 degrees.
UPC-A for .NET Ultimate Features
Encodable CharactersSupport to encode:
- 0, 1, 2, 3, 4, 5, 6, 7, 8, 9
Supplementary BarcodeSupport to encode supplementary barcode EAN-2 & EAN-5 barcode for UPC-A barcodes
Barcode SpecificationSupport to generate & create accurate UPC-A barcodes according to GS1 General Specification (Version 8)
Programming Language Available for C#, VB.NET Managed C++ and Borland Delphi for .NET and other IDEs supported by .NET Framework
High-quality ImageGenerate high-quality EAN-13 barcode image for all printers. No special printers or hardware are required
Code TextEasy to customize font style of human-readable text and display it under UPC-A barcodes
UPC-A for .NET Ultimate 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
- C#, Visual Basic, Managed C++ and Borland Delphi.NET
- Visual Studio 2005/2008/2010
- .NET Windows Forms Application
- .NET Class and Console Applications
- ASP.NET Web Forms
- .NET SSRS and Crystal Report
Install UPC-A Generator for .NET Ultimate
  1. Download BizCode Generator for .NET Ultimate and unzip;
  2. Add reference: Add "BusinessRefinery.Barcode.Web.dll" or "BusinessRefinery.Barcode.Win.dll" to your project reference;
  3. Add to toolbox: To add Barcode Control to your .NET Winforms or ASP.NET Web Forms toolbox.
How to Drag & Drop Barcode Control into ASP.NET projects?
  1. Install ASP.NET Barcode Control;
  2. Add ASP.NET Barcode Control onto your .NET Visual Studio Toolbox;
  3. Copy "linear.aspx" and "linear.aspx.cs" to the folder where your aspx pages are generating barcodes;
  4. Drag and drop the WebLinearBarcode control into the Forms;
  5. Run the website and you will see a barcode image generated.
How to Drag & Drop Barcode Control into .NET Winforms projects?
  1. Install .NET Winforms Barcode Control;
  2. Add .NET Winforms Barcode Control onto your .NET Visual Studio Toolbox;
  3. Drag and drop the WinLinearBarcode control into the Forms;
  4. Run the website and you will see a barcode image generated.
How to Generate UPC-A in .NET with C#, VB.NET Class?
Copy those following code to your .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");
Dim barcode As BusinessRefinery.Barcode.Linear = 
New BusinessRefinery.Barcode.Linear()
barcode.Symbology = BusinessRefinery.Barcode.Symbology.UPCA
barcode.Code = "01234567890"
barcode.Resolution = 104
barcode.Rotate = BusinessRefinery.Barcode.Rotate.Rotate270
barcode.Format = System.Drawing.Imaging.ImageFormat.Gif
barcode.drawBarcode2ImageFile("c:/upca-vb-net.gif")
How to Create Your Own UPC-A in IIS?
  1. Download BizCode Generator for .NET Ultimate and unzip;
  2. Copy the whole barcode fold and contents into IIS and create a new virtual directory called "br_barcode";
  3. Restart IIS, navigate to http://localhost/br_barcode/linear.aspx?code=01234567890&symbology=36;
  4. Add an image tag <img> into the web page to create UPC-A barcode image in html or aspx pages, e.g.
    <img src="http://localhost/br_barcode/linear.aspx?code=01234567890&symbology=36"/>.
How to Draw UPC-A Barcodes to Image Files (GIF, JPEG, BMP, PNG, & TIFF)?
Copy those following code to your .NET projects:
using BusinessRefinery.Barcode;

Linear barcode = new Linear();
barcode.Symbology = Symbology.UPCA;
barcode.Code = "01234567890";
barcode.Format = ImageFormat.Gif;
barcode.drawBarcode2ImageFile("c:/upca-csharp.gif");
Dim barcode As BusinessRefinery.Barcode.Linear = 
New BusinessRefinery.Barcode.Linear()
barcode.Symbology = BusinessRefinery.Barcode.Symbology.UPCA
barcode.Format = System.Drawing.Imaging.ImageFormat.Gif
barcode.drawBarcode2ImageFile("c:/upca-vb-net.gif")
How to draw & print UPC-A barcodes to .NET objects like Graphics, Stream, Bitmap?
Copy those following code to your .NET projects:
public void drawBarcode2ImageFile(string filename);
public void drawBarcode2Stream(Stream fileStream);
public byte[] drawBarcodeAsBytes();
public Bitmap drawBarcodeOnBitmap();
public void drawBarcodeOnGraphics(Graphics graphics);
Public Sub drawBarcode2Stream(ByVal fileStream As System.IO.Stream)
Public Sub drawBarcodeOnGraphics(ByVal graphics As
System.Drawing.Graphics)
Public Function drawBarcodeAsBytes() As Byte()
Public Function drawBarcodeOnBitmap() As System.Drawing.Bitmap