KA.Barcode for .NET WinForms
How to Generate EAN-8 in .NET WinForms
How to generate & create linear EAN-8 barcode images in .NET WinForms, C#, VB.NET class library
  • Completely run in C#, VB.NET for .NET 2.0 and later version
  • Integrate EAN-8 creation control Microsoft Visual Studio 2005/2008/2010
  • Easy to create EAN-8 barcodes in .NET Winforms applications
  • Support EAN-8 generation in .NET class and console applications
  • Mature EAN-8 barcode generating component used word-wide
  • Support Add-on 2 & 5 digits barcode creation for EAN-8 barcodes
  • Compatible with GS1 system of Standards for EAN-8 generation
  • Automatically add & compute checksum digit for EAN-8
EAN-8 Winforms Generator is a flexible and powerful barcode SDK for generating and printing EAN-8 barcodes in .NET Windows applications with high-usability barcode customization options over rotation, resolution, module size, image size and human-readable text. It also provides detailed EAN-8 barcode generation guide for users, requiring minimum EAN-8 barcode information.

c# barcode maker, 2d barcode generator c# free, print barcode crystal report using c#, how to make barcode reader software in java, asp.net c# print barcode, gs1 barcode decoder c#
EAN-8 Overview in .NET WinForms Control
EAN-8 is also known as European Article Number 8, EAN-8 Supplement 5/Five-digit Add-On, EAN-8 Supplement 2/Two-digit Add-On, EAN-8+5, EAN-8+2, EAN8, EAN8+5, EAN13+2, UPC-8, GTIN-8, GS1-8, EAN/UCC-8, which is used for marking retail goods; however, they are usually reserved for smaller items.

EAN-8 Generator for .NET WinForms Encodes

  • 0, 1, 2, 3, 4, 5, 6, 7, 8, 9
  • 7 digits encodable excluding the checksum character which can be automatically added
EAN-8 Generation in .NET WinForms SDK

How to Drag & Drop EAN-8 Generator to Windows Forms

  1. 1.
    In Visual Studio, right-click in "Toolbox" and select "Choose Items..."
  2. 2.
    In the pop-up window, click button "Browse..." and select "KeepAutomation.Barcode.Windows.dll"
  3. 3.
    Then, you'll see "BarCodeControl" in Visual Studio toolbox
  4. 4.
    Drag and drop "BarCodeControl" into the project forms and a Code 128 barcode is generated
  5. 5.
    Now, you can change barcode types and customize image settings in the "Properties" window

How to Generate EAN-8 in .NET WinForms Using C# or VB.NET

Using the C# or VB.NET sample code below to produce and integrate EAN-8 in .NET Windows Forms applications.
using KeepAutomation.Barcode.Bean;

BarCode ean8 = new BarCode();
ean8.Symbology = KeepAutomation.Barcode.Symbology.EAN8;
ean8.CodeToEncode = "123456";
ean8.X = 2;
ean8.generateBarcodeToImageFile("C://ean8-csharp.png");
Dim ean8 As KeepAutomation.Barcode.Bean.BarCode = New KeepAutomation.Barcode.Bean.BarCode

ean8.Symbology = KeepAutomation.Barcode.Symbology.EAN8
ean8.CodeToEncode = "1234567"
ean8.X = 2
ean8.ImageFormat = System.Drawing.Imaging.ImageFormat.Gif()
ean8.generateBarcodeToImageFile("C://ean8-vb-net.gif")

How to Create EAN-8 Add-on Barcodes in .NET WinForms

EAN-8 barcode SDK allows users to add 2 or 5 digits supplemental data to the EAN-8 barcode. Once encode the EAN-8 add-on barcodes, the size related properties needs to be set. Users may add supplemental digits using "Symbology" property and customize add-on barcode size by adjusting "SupplementCode", "SupplementHeight", "SupplementSpace" respectively.
using KeepAutomation.Barcode.Bean;

BarCode ean8sup2 = new BarCode();
ean8sup2.Symbology = KeepAutomation.Barcode.Symbology.EAN8Sup2;
ean8sup2.CodeToEncode = "1234567";
ean8sup2.X = 2;
ean8sup2.SupplementCode = "12";
ean8sup2.SupplementHeight = 0.9;
ean8sup2.SupplementSpace = 20;
ean8sup2.generateBarcodeToImageFile("C://ean8sup2-csharp.png");
Dim ean8sup2 As KeepAutomation.Barcode.Bean.BarCode = New KeepAutomation.Barcode.Bean.BarCode

ean8sup2.Symbology = KeepAutomation.Barcode.Symbology.EAN8Sup2
ean8sup2.CodeToEncode = "1234567"
ean8sup2.SupplementCode = "12"
ean8sup2.SupplementHeight = 0.9
ean8sup2.SupplementSpace = 20
ean8sup2.X = 2
ean8sup2.ImageFormat = System.Drawing.Imaging.ImageFormat.Gif()
ean8sup2.generateBarcodeToImageFile("C://ean8sup2-vb-net.gif")