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 EAN-128/GS1-128 images in VB.NET
VB.NET EAN-128/GS1-128 Generator is a one function of .NET barcode generating component, which is a powerful and reliable barcode generating control to create, print EAN-128/GS1-128 and another 20+ linear & 2D barcodes in VB.NET programs.
A set of image related controls are provided for customizing EAN-128/GS1-128 barcode images with resolution, orientation and exporting EAN-128/GS1-128 into various popular image formats as well as VB.NET graphic objects. Here are detailed samples to manage your own EAN-128/GS1-128 barcodes. More details on EAN-128/GS1-128 size and data please see:
EAN-128/GS1-128 Image Related Properties

Barcode Unit

Image property BarcodeUnit is provided by Barcode Generator for .NET Ultimate for users to defines the unit measurement (pixel, cm, or inch) in EAN-128/GS1-128 barcode.

Barcode Resolution

Image property Resolution is provided by Barcode Generator for .NET Ultimate to users to describe EAN-128/GS1-128 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 EAN-128/GS1-128 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 EAN-128/GS1-128 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 EAN-128/GS1-128 barcode into VB.NET Graphics, Stream and Bitmap objects.
Customize EAN-128/GS1-128 Barcode Images in VB.NET
Make sure that your have installed those programs before you specify EAN-128/GS1-128 image in VB.NET:
Customize EAN-128/GS1-128 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.EAN128
barcode.Code = "0123456789"
barcode.drawBarcode2ImageFile("c:/ean-128-vb-net.gif")
Measure EAN-128/GS1-128 Barcode Module Size
In Barcode Generator for .NET Ultimate, the default value of BarcodeUnit is 72 dpi.

Copy those following code to change unit measurement for all sizing related properties:
barcode.BarcodeUnit = BarcodeUnit.PIXEL
Change EAN-128/GS1-128 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
Adjust EAN-128/GS1-128 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 EAN-128/GS1-128 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 EAN-128/GS1-128 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 EAN-128/GS1-128 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-vb-net.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