Home  >  .NET Windows Forms Barcode Component  >  .NET WinForms Barcoding Tutorial  >  How to Generate EAN-128 Barcode in .NET WinForms Project
.NET Windows Forms GS1-128 Barcode Generator Control
.NET Windows Forms GS1-128 Barcode Generator Control & DLL can generate, create GS1-128, or EAN-128/UCC-128, barcodes images using .NET WinForms barcode contrl for C#.NET and VB.NET class projects.
Overview - .NET Windows Forms GS1-128 Barcode Generator Control
The GS1-128U/EAN-128 Barcode DLL Class Library for .NET Windows Forms from KeepDynamic.com helps you integrate the GS1-128/EAN-128 barcode generation features into your .NET projects. The .NET GS1-128/EAN-128 Barcode Control for Windows Forms can easily and quickly create GS1-128/EAN-128 barcodes that are compatible with latest GS1-128/EAN-128 barcode standards. The .NET Windows Forms GS1-128/EAN-128 Barcode control is easy-to-use and supports most popular .NET Development Tools like Microsoft Visual Studio2005/2008/2010 and Express Editions.
Related barcode solutions for generating GS1-128/EAN-128 for .NET framework applications:
Benefits of .NET GS1-128 Windows Forms Barcode Generator Control
GS1-128/EAN-128 Barcode Image Customization of .NET Windows Forms Barcode Generator
View more about EAN-128/GS1-128 Barcode Properties of .NET Windows Forms Barcode Generator Library
How to Use .NET GS1-128/EAN-128 Barcode Generator Library in WinForms Project
Using this .NET GS1-128/EAN-128 barcode generator library, you can generate & create GS1-128/EAN-128 barcode images in two ways.

Use .NET GS1-128/EAN-128 Barcode Generator Library in WinForms Controller

  1. Add KeepDynamic.BarCode.Windows.dll to your Windows Forms project
  2. Add KeepDynamic.BarCode.Windows.dll to Visual Studio Toolbox
  3. Drag & drop BarCodeControl to your .NET WinForms project and you will see a default Code 128 barcode image being generated
  4. Click generated barcode image, change the value of SymbologyType to EAN128 and adjust the value of CodeText to the format of AI + data-to-encode in the Properties window

Use .NET GS1-128/EAN-128 Barcode Generator Library in WinForms Class Application

  1. Add KeepDynamic.BarCode.Windows.dll to your Windows Forms project
  2. Generate & create GS1-128/EAN-128 barcode images using following C# or VB.NET class code
How to generate GS1-128/EAN-128 using C# code
// generate linear barcode object 
BarCode barcode = new BarCode();

// Set barcode type to EAN128
barcode.SymbologyType = SymbologyType.EAN128;

// Allow to encode tilde
barcode.ProcessTilde = true;

// Enter encodable data string, which equals to encode data as (12)123456
barcode.CodeText = "~ai212123456";

// set EAN128 barcode image settings
// Set bar width of EAN128
barcode.X = 2;

// set EAN128 barcode image
barcode.BarCodeWidth = 250;
barcode.BarCodeHeight = 90;

// save generated barcode images to png image file using C#
barcode.drawBarcode("C://kdean128.png");
How to generate GS1-128/EAN-128 using VB.NET code
' generate linear barcode object 
Dim barcode As New BarCode()

' Set barcode type to EAN128
barcode.SymbologyType = SymbologyType.EAN128

' Allow to encode tilde
barcode.ProcessTilde = True

' Enter encodable data string, which equals to encode data as (12)123456
barcode.CodeText = "~ai212123456"

' set EAN128 barcode image settings
' Set bar width of EAN128
barcode.X = 2

' set EAN128 barcode image
barcode.BarCodeWidth = 250
barcode.BarCodeHeight = 90

' save generated barcode images to png image file using C#
barcode.drawBarcode("C://kdean128.png")
More detailed guidance for .NET Barcode Generator Library for Windows Forms: Add barcode creating features into .NET projects using .NET Windows Forms barcode control
.NET UCC/EAN-128 Barcode Generator Control Supported Barcode Types