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 Encode EAN-128/GS1-128 Data in .NET WinForms
BusinessRefinery.com Winforms Barcode EAN-128/GS1-128 Generator is an Winforms barcode creation component that enables to create, stream EAN-128/GS1-128 barcodes in your Winforms applications.
Winforms Barcode EAN-128/GS1-128 Generator provides advanced EAN-128/GS1-128 barcodes features for you to customize to suit your needs. More information, please go to:
EAN-128/GS1-128 Data Related Properties

Symbology

With Barcode Generator for Winforms, users are allowed to encrypt EAN-128/GS1-128 barcode encodable character sets using Symbology property.

Winforms EAN-128/GS1-128 Barcode encodes:
  • All 128 ISO/IEC 646 characters
  • Characters with byte values 128 to 255 may also be encoded
  • 4 non-data function characters
  • 4 code set selection characters
  • 3 Start characters
  • 1 Stop character

Code

With Barcode Generator for Winforms, users are allowed to control EAN-128/GS1-128 barcode data length using Code property.

ProcessTilde

With Barcode Generator for Winforms, users are allowed to encode some special characters for EAN-128/GS1-128 barcode using a tilde characters "~" using ProcessTilde property.
  • 1-byte character: ~0dd/~1dd/~2dd (character value from 000 ~ 255); ASCII character '~' is presented by ~126
    Strings from "~256" to "~299" are unused
  • 2-byte character (Unicode): ~6ddddd (character value from 00000 ~ 65535)
    Strings from "~665536" to "~699999" are unused
  • for GS1 AI Code:

Human-readable Text

With Barcode Generator for Winforms, users are allowed to show human-readable text with customized text style under generated EAN-128/GS1-128 symbols DisplayText and Textfont properties.
Customize EAN-128/GS1-128 Barcode Data in Winforms
Ensure have installed those programs before you encrypt EAN-128/GS1-128 valid data in .NET Winforms:
  • Microsoft .NET Framework 2.0/3.0/4.0
  • Microsoft Visual Studio 2005/2008/2010 (Express, Professional & Standard Edition)
  • Barcode Generator for Winforms installed
Customize EAN-128/GS1-128 Barcode Images in Windows Forms Using BarcodeControl
  1. Add .NET Winforms Barcode Control onto your .NET Visual Studio Toolbox;
  2. Drag and drop the WinLinearBarcode control into the Forms;
  3. You will see a barcode image generated;
  4. Right click you mouse to activate barcode setting panel and choose Symbology to EAN128;
  5. Select Symbology, Code, ProcessTilde,AddChecksum, DisplayChecksumDigit, DisplayText and Textfont respectively to customize your EAN-128/GS1-128 barcodes.
Encode EAN-128/GS1-128 Barcode Data in Winforms Using C#, VB.NET Class
using BusinessRefinery.Barcode;

Linear barcode = new Linear();
barcode.Symbology = Symbology.EAN128;

// Encode EAN-128/GS1-128 barcode with tilde charcater "~"
barcode.ProcessTilde= true;
barcode.Code = "~ai56484564918";

// Display EAN-128/GS1-128 barcode human-readable text with
customized font style

barcode.DisplayText = true;
barcode.TextFont = new Font("Arial", 11.0f, FontStyle.Bold);

barcode.drawBarcode2ImageFile("c:/ean-128-csharp.gif");
Dim barcode As BusinessRefinery.Barcode.Linear = 
New BusinessRefinery.Barcode.Linear()
barcode.Symbology = BusinessRefinery.Barcode.Symbology.EAN128

// Encode EAN-128/GS1-128 barcode with multiple length
barcode.Code = "(48)97/97*/9746"

// Display EAN-128/GS1-128 barcode human-readable text with
customized font style

barcode.DisplayText = true
barcode.TextFont = new Font("Arial", 11.0f, FontStyle.Bold)

barcode.drawBarcode2ImageFile("c:/ean-128-vb-net.gif")