BizCode Barcode Generator for .NET Ultimate
The most robust & powerful barcode generating SDK for Microsoft .NET Framework
Quick Overviews
  • Powerful barcode creating DLL
  • Completely run in VB.NET
  • 100% sample code provided
  • Multiple barcode formats
  • Full controls provided
How to Generate UPC-A images in VB.NET
Easy to integrate into .NET Framework 2.0/3.0/4.0, VB.NET UPC-A Generator allows users to simply generate, create and stream dynamic UPC-A images into .NET applications with Visual Basic.NET.
VB.NET UPC-A Generator provides multiple options to easily manipulate UPC-A barcode imge. Users can also rotate barcode images to any angle and produce high quality barcode images. In addition to this, barcode image margins can be managed and you can set customized resolutions. Here is VB.NET sample code to help you specify UPC-A images. If you want to know about UPC-A size and data please go to:
UPC-A Image Related Properties

Supplementary Barcode

Barcode properties Symbology and SupplementCode are provided by Barcode Generator for .NET Ultimate for users to add supplementary 2 & 5 digits for UPC-A barcode.

Barcode Resolution

Image property Resolution is provided by Barcode Generator for .NET Ultimate to users to describe UPC-A barcode resolution in dots per inch.

Barcode Rotation

Image property Rotate is provided by Barcode Generator for .NET Ultimate for users to change the rotated angle of UPC-A barcode into 0, 90, 180 and 270 degrees.

Image Formats

Image property ImageFormat is provided by Barcode Generator for .NET Ultimate for users to draw and save UPC-A barcode into dynamic image file formats, such as Png, Jpeg/Jpg, Gif, Tiff, Bmp, etc.

VB.NET Graphic Objects

Image property DrawBarcode is provided by Barcode Generator for .NET Ultimate for users to output UPC-A barcode into VB.NET Graphics, Stream and Bitmap objects.
Customize UPC-A Barcode Images in VB.NET
Make sure that your have installed those programs before you specify UPC-A image in VB.NET:
Customize UPC-A Barcode Images in .NET Project Using VB.NET Class
Copy those following code onto your VB.NET projects:
Dim barcode As BusinessRefinery.Barcode.Linear = 
New BusinessRefinery.Barcode.Linear()
barcode.Symbology = BusinessRefinery.Barcode.Symbology.UPCA
barcode.Code = "0123456789"
barcode.drawBarcode2ImageFile("c:/upc-a-vb-net.gif")
Change UPC-A Resolution in DPI
In Barcode Generator for .NET Ultimate, the default value of Resolution is 72 dpi.

Copy those following code to change your resolution:
barcode.Resolution = 104
Create Supplementay Barcode for UPC-A
In Barcode Generator for .NET Ultimate, the default value of SupplementCode is "".

In Barcode Generator for .NET Ultimate, the default value of SupplementHeight is 0.8f.

In Barcode Generator for .NET Ultimate, the default value of SupplementSpace is 15 pixel.

Copy those following code onto your VB.NET projects:
barcode.Symbology = BusinessRefinery.Barcode.Symbology.UPCA_5
barcode.Code = "01234567890"
barcode.SupplementCode = "12895"
barcode.SupplementHeight = 0.4
barcode.SupplementSpace = 20
Adjust UPC-A Barcode Quiet Margin
In Barcode Generator for .NET Ultimate, the default value of BottomMargin, TopMargin , LeftMargin and RightMargin are 0 respectively.

Copy those following code to change your quiet margin size:
barcode.BottomMargin = 7
barcode.TopMargin = 7
barcode.LeftMargin = 5
barcode.RightMargin = 5
Change UPC-A Image Rotation
In Barcode Generator for .NET Ultimate, the default value of Rotate is Rotate.Rotate0.

Copy those following code to change your image rotation angle:
barcode.Rotate = Rotate.Rotate180
Show UPC-A Barcode Human-Readable Text
In Barcode Generator for .NET Ultimate, the default value of DisplayText is true.

In Barcode Generator for .NET Ultimate, the default value of TextFont is new Font("Arial", Font.PLAIN, 11).

In Barcode Generator for .NET Ultimate, the default value of TextMargin is 6 pixel.

Copy those following code to change your human-readable text:
barcode.DisplayText = true
barcode.TextFont = new Font("Arial", 11.0f, FontStyle.Bold)
barcode.TextMargin = 10
Save UPC-A in Multiple Image Formats
In Barcode Generator for .NET Ultimate, the default value of is gif. Copy those following code to change your image format:

barcode.Format = ImageFormat.Png;
barcode.drawBarcode2ImageFile("c:/ean-128-csharp.Png")
Users may change image format into gif, png, tiff, jpeg, png; or save it as VB.NET graphic objects:
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