Our Customers
Contact Us Email: support@barcodelib.com
Home > .NET WinForms Barcode > Windows Forms Barcode Generation Guide > EAN-13 .NET WinForms Barcode Generation Guide
Download Barcode for .NET WinForms Trial

EAN-13 .NET Windows Forms Barcode Generator

How to Create EAN-13 Barcodes in .NET Windows Forms Applications
  • Professional EAN-13 .NET WinForms Barcode Generator, widely used 10+ years
  • Receiving high remarks from more than 1000 .NET barcoding project developers
  • Generate high-quality EAN-13 images with an easy-to-use .NET Barcode Library DLL
  • Offer advanced features for EAN-13 barcode settings flexibly in .NET WinForms project
  • Capable of saving generated EAN-13 barcodes in various image formats
  • Perfectly comply with .NET Frameworks 2.0, 3.0, 3.5 and later versions
Brief Introduction of 1D EAN-13 Barcode .NET WinForms
EAN-13 Barcode can be often seen in daily products. This numeric-only barcode is mainly used to encode Global Trade Item Numbers. As our EAN-13 .NET WinForms Barcode Generator is developed under the guidance of GS1 General Specification, all the created EAN-13 images are definitely compatible with the latest industry standards.
Install Linear EAN-13 .NET WinForms Barcode Generator Component
You can add Barcodelib.Barcode.WinForms.dll to both project reference and Toolbox.
  1. To project reference
    • Right click in "Solution Explorer" and click "Add Reference".
    • Next, though "Browse", you could find Barcodelib.Barcode.WinForms.dll in the downloaded trial.
  2. To Toolbox
    • Right click in Toolbox and choose "Choose Items...".
    • Then by clicking "Browse", you could locate Barcodelib.Barcode.WinForms.dll in the downloaded evaluation package.
    • After you add the DLL, you could see four items in the toolbox, similar to the following picture.

Generate Linear EAN-13 Barcode in .NET Windows Forms Program
Once you install the EAN-13 .NET WinForms SDK, you could generate EAN-13 barcodes in the .NET Windows Forms. The following is operation process:
  1. Drag LinearWinForm from the Toolbox and drop it on your .NET Windows Form. And a Code 128 will be created.
  2. Then, please set barcode type to EAN-13, and set its related parameters the right Properties window, like barcode data "123456789123".
  3. Click the form to update EAN-13 barcode image.
Create EAN-13 Barcode in .NET Windows Forms with C# or VB Codes
Our EAN-13 .NET WinForms DLL could, of course, help users generate EAN-13 images in .NET WinForms in C# or VB codes. Free sample codes are listed below.
     BarcodeLib. Barcode.Linear ean13 = new BarcodeLib.Barcode.Linear();
ean13.Type = BarcodeLib.Barcode.BarcodeType.EAN13;
ean13.Data = "123456789123";

ean13.ImageFormat = System.Drawing.Imaging.ImageFormat.Jpeg;
ean13.BarColor = Color.Blue;
ean13.LeftMargin = 4;
ean13.RightMargin = 4;
ean13.BarWidth = 2;
ean13.drawBarcode("C:/ean13-winform.jpeg");
These EAN-13 demo codes are compiled in Visual C# 2005. (If necessary, please click to see More EAN-13 C# Demo Code)
     Dim ean13 As New BarcodeLib.Barcode.Linear()
ean13.Type = BarcodeLib.Barcode.BarcodeType.EAN13
ean13.Data = "123456789123"

ean13.ImageFormat = System.Drawing.Imaging.ImageFormat.Jpeg
ean13.BarColor = Color.Blue
ean13.BarWidth = 2
ean13.LeftMargin = 4
ean13.RightMargin = 4
ean13.drawBarcode("C:/ean13winform.jpeg")
These EAN-13 demo codes are written in Visual Basic. (If necessary, please click to see More EAN-13 VB.NET Demo Code)
Other Barcodes Supported by EAN-13 .NET WinForms Barcode Generator
WinForms 1D Barcodes:
WinForms 2D Barcodes:
EAN-13 .NET WinForms Barcode SDK Supports Linear Barcode Symbologies: Codabar, Code 11, Code 2 of 5, Code 39, Code 128, Code 93, EAN 8, EAN 13, EAN 128/GS1 128, Interleaved 2 of 5, ITF14, MSI Plessey, Intelligent Mail (OneCode), Planet, Postnet, RM4SCC (British Royal Mail 4-State Customer Barcode), UPC-A, UPC-E.
EAN-13 .NET WinForms Barcode SDK Supports 2D Barcode Symbologies: Data Matrix, PDF 417, QR-Code.



See Also: Related Barcoding Tutorials

.NET Windows Forms Visual C# & Visual Basic Barcoding Tutorials
Basrcode Generating & Drawing Guide for Other .NET Framework Programs: