QR Code Image Sample - pqScan.com
.NET EAN-13 Barcode Creator Windows Forms Control Encoding EAN 13 Image in .NET WinForms Online Demo Download Trial Purchase Now
.NET
Winforms
ASP.NET C#-VB

How to Generate EAN-13 in .NET WinForms

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

.NET WinformsEAN13 Creator is one of the barcode generation functions in pqScan Barcode Creator For Winforms .NET, which can also make Code128, encode Data Matrix, draw QR Code and so on. Developers can generate EAN-13 barcode with .NET BarcodeWinForms control or in .NET Windows Forms class using .NET Barcode Creator API.

Creating and painting EAN13 using .NET WinfromsBarcode Creator Control

To printEAN-13 barcodeon .NET WinForms directly, pqScan Barcode Creator Winforms Control may do a favor.

  1. DownloadBarcode Creator WinForms Control, unzip and copy the "PQScan.BarcodeCreator.dll"file to your .NET projectbin folder.
  2. Add the DLL to Visual Studio Toolbox:
    • In your Visual Studio, display "toolbox" pane.
    • Right click the toolbox,select Choose Items... to navigate to the DLL.
    • Make the checkbox "BarcodeWinControl"to be checked.
  3. Drag and drop "BarcodeWinControl" from toolbox to your Windows Froms.
  4. Run theWinforms project to viewEAN13 image createdon the Form.
  5. Customize theEAN13 barcode from right-side "properties" setting pane or in run-time code.

Generating EAN13 barcode in .NET Windows Form using component API

With the help of Barcode Creator methods ofLibrary, you will find drawingEAN13 in WinForms class is not far away from you.

  1. DownloadEAN13 barcode generator SDK.
  2. Reference "PQScan.BarcodeCreator.dll" to your .NET Winforms application.
  3. Add the given C# sample codeto your .NET Winfroms class and run the project, a perfect EAN-13 image will created.
using System;
using System.Windows.Forms;
using PQScan.BarcodeCreator;

namespace EAN13GenerateInWinforms
{
    public partial classForm1 : Form
    {
        public Form1()
        {
            InitializeComponent();

            Barcode ean13 = new Barcode();

            ean13.Data = "123456789012";
            ean13.BarType = BarCodeType.EAN13;
            ean13.Width = 200;
            ean13.Height = 100;
            ean13.ShowText = true;

            ean13.CreateBarcode("ean13-winforms.png");

        }
    }
}

generate ean13 in .net winforms

.NET Barcode Creator QR Code Creator in Winforms Data Matrix Creator in Winforms PDF 417 Creator in Winforms Aztec Code Creator in Winforms EAN 8 Creator in Winforms UPC A Creator in Winforms Code 128 Creator in Winforms Code 39 Creator in Winforms