BizCode Barcode Generator for Winforms
The most robust & powerful barcode component for Microsoft .NET Windows Forms
Quick Overviews
  • Professional barcode control
  • Flexible controls provided
  • Support WinForms projects
  • Linear & 2D barcodes support
  • Winforms Data-binding support
How to Set EAN-128/GS1-128 Image in Winforms
EAN-128/GS1-128 Generator for Winforms provides a professional barcode solution to simply generate dynamic EAN-128/GS1-128 image in Winforms.NET application. All the .NET Framework editions, containing .NET 2.0, 2.5, 3.0 3.5 and 4.0 are supported with this product.
EAN-128/GS1-128 Generator for Winforms definitely supports GS1 system standard barcode specification and creates EAN-128/GS1-128 under this specification. With EAN-128/GS1-128 Generator for Winforms, EAN-128/GS1-128 barcode can rotate in the angle of 0, 90, 180 and 270 and saved into, gif, png, gif, jpeg, bmp, and tiff, etc. More specific image settings please see below. If you want other information, please link to:
EAN-128/GS1-128 Image Related Properties

Barcode Unit

With Barcode Generator for Winforms, users are allowed to measure EAN-128/GS1-128 barcode module size with pixel, cm, or inch using BarcodeUnit.

Human-readable Text

With Barcode Generator for Winforms, users are allowed to show human-readable text under EAN-128/GS1-128 barcode symbols with customized font style using Text related property, including DisplayText, TextFont, and TextMargin.

Barcode Resolution

With Barcode Generator for Winforms, users are allowed to customize the resolution of their barcode images in any way they want using Resolution property.

Barcode Rotation

With Barcode Generator for Winforms, users are allowed to set EAN-128/GS1-128 barcode images into 0, 90, 180 and 270 degrees using Rotate property.

Image Formats

With Barcode Generator for Winforms, users are allowed to save & output generated EAN-128/GS1-128 barcode images into Png, Jpeg/Jpg, Gif, Tiff, Bmp, etc using ImageFormat property.

.NET Winforms Graphic Objects

With Barcode Generator for Winforms, users are allowed to save generated EAN-128/GS1-128 barcode images into .NET Graphics, Stream and Bitmap objectsin accordance with users' needs.
Customize EAN-128/GS1-128 Barcode Images in Winforms
Ensure have installed those programs before you customize EAN-128/GS1-128 image in .NET Winforms:
Customize EAN-128/GS1-128 Barcode Images in Windows Forms Using BarcodeControl
  1. Drag and drop the WinLinearBarcode control into the Forms;
  2. You will see a barcode image generated;
  3. Right click you mouse to activate barcode setting panel and choose Symbology to EAN128;
  4. Right click you mouse to activate barcode setting panel and choose Symbology to EAN128
Customize EAN-128/GS1-128 Barcode Images in Winforms Using C#, VB.NET Class
using BusinessRefinery.Barcode;

Linear barcode = new Linear();
barcode.Symbology = Symbology.EAN128;
barcode.Code = "(012)3456789";

// Measure EAN-128/GS1-128 barcode module size with pixel, cm, or
inch

barcode.BarcodeUnit = BarcodeUnit.PIXEL;

// Change EAN-128/GS1-128 resolution in DPI
barcode.Resolution = 104;

// Rotate EAN-128/GS1-128 barcode image
barcode.Rotate = Rotate.Rotate180;

// Show EAN-128/GS1-128 barcode 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
barcode.Format = ImageFormat.Gif;
barcode.drawBarcode2ImageFile("c:/ean-128-csharp.gif");

// Save EAN-128/GS1-128 barcode in Winforms objects
public void drawBarcode2ImageFile(string filename);
public void drawBarcode2Stream(Stream fileStream);
public byte[] drawBarcodeAsBytes();
public Bitmap drawBarcodeOnBitmap();
public void drawBarcodeOnGraphics(Graphics graphics);
Dim barcode As BusinessRefinery.Barcode.Linear = 
New BusinessRefinery.Barcode.Linear()

barcode.Symbology = BusinessRefinery.Barcode.Symbology.EAN128
barcode.Code = "(012)3456789"

' Measure EAN-128/GS1-128 barcode module size with pixel, cm, or
inch

barcode.BarcodeUnit = BarcodeUnit.PIXEL

' Change EAN-128/GS1-128 resolution in DPI
barcode.Resolution = 104

' Rotate EAN-128/GS1-128 barcode image
barcode.Rotate = Rotate.Rotate180

' Show EAN-128/GS1-128 barcode 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
barcode.Format = ImageFormat.Gif
barcode.drawBarcode2ImageFile("c:/ean-128-vb-net.gif")

' Save EAN-128/GS1-128 barcode in Winforms 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