QR Code Image Sample - pqScan.com
.NET EAN-8 Barcode Creator Windows Forms Control Encoding EAN-8 Image in .NET WinForms Barcode Creator Online Demo Download Trial Purchase Now

How to Generate EAN-8 in .NET WinForms

back to home  >  .NET Barcode Generator SDK  >  Generate Barcodes in Winforms  >  Generate EAN-8 in Winforms

.NET WinForms EAN-8 Creator is one of the barcode generation functions in pqScan Barcode Creator For WinForms .NET. We provide two ways to make EAN-8 in .NET WinForms applications. One is generate and draw EAN8 using the API of our Library, the other is using Barcode Windows Forms Control to render EAN-8 image.

Making EAN-8 in .NET WinForms class using Barcode Creator API

In your .NET WinForms application, if you want to generate EAN8 through the code, useful information also can be found in this guide.

  1. Download EAN-8 barcode generator SDK.
  2. Add "PQScan.BarcodeCreator.dll" to your .NET WinForms project reference.
  3. Copy and paste the following C# code to your .NET Windows Forms class:
using System;
using System.Windows.Forms;
using PQScan.BarcodeCreator;

namespace Ean8GenerateInWinforms
    public partial class Form1 : Form
        public Form1()

            Barcode ean8 = new Barcode();

            ean8.Data = "1234567";
            ean8.BarType = BarCodeType.EAN8;
            ean8.Width = 100;
            ean8.Height = 100;
            ean8.ShowText = true;


generate ean8 in .net winforms

Dragging and dropping .NET Barcode Creator WinForms Control to generate EAN-8 barcode

With the help of .NET Barcode WinForms Control, there is not complex code, it only takes one step to create and draw EAN8 on Forms: dragging and dropping the Control onto the Forms, a EAN-8 barcode image will be generated automatically. Before you use the Control, there is some preparations:

  1. Download and unzip the .NET Barcode Creator WinForms Control package to development computer.
  2. In your Visual Studio, right click the toolbox and select Choose Items...
  3. In the dialog "Choose Toolbox Items", click Browse... to find "PQScan.BarcodeCreator.dll" file.
  4. Make the Barcode WinForms control "BarcodeWinControl" item be checked.
  5. Drag and drop the appeared "BarcodeWinControl" to your Windows Forms.
  6. Run the Windows project, and you will find an EAN-8 image rendered on the Form.
  7. Specify the EAN-8 image from right-side "properties" setting pane or in run-time code.
.NET Barcode Creator QR Code Creator in Winforms Data Matrix Creator in Winforms PDF 417 Creator in Winforms Aztec Code Creator in Winforms EAN 13 Creator in Winforms UPC A Creator in Winforms Code 128 Creator in Winforms Code 39 Creator in Winforms