How to Generate EAN-13 in .NET WinForms

How to Generate & Print Linear EAN-13 Barcode Images in .NET Windows Forms
  • Easy-to-use & robust barcode controls completely written in managed C#
  • Easy to drag & drop EAN-13 generating component onto your windows forms
  • Support supplemental 2 & 5 digits add-on for 1D EAN-13 barcodes
  • Support linear EAN-13 generation complying with GS1 Standard
  • Automatically compute and add check digit for linear EAN-13 barcodes
  • Print and save 1D EAN-13 as gif, jpeg, png, tiff, and bitmap files
  • Professional linear EAN-13 bar code generating DLL used widely
  • Grant royalty-free and everlasting user licenses to users
.NET WinForms EAN-13 Barcode Library Description
EAN-13 Barcode Encoder Component Library is actually good barcode control for users to print and produce EAN-13, EAN-13+2, EAN-13+5 images in .NET Windows Forms, C#, VB.NET class & console applications. Various barcode options are available with tutorials to adjust generated images.
EAN-13 Barcode Overview in WinForms
EAN-13, also known as European Article Number 13, EAN-13 Supplement 5/Five-digit Add-On, EAN-13 Supplement 2/Two-digit Add-On, GTIN-13, GS1-13, EAN/UCC-13, is one member of the EAN/UPC barcode symbology family that widely used in retail field at point of sale.
EAN-13 Barcode Encodable Data
  • 0, 1, 2, 3, 4, 5, 6, 7, 8, 9
Download EAN-13 Barcode Library in .NET WinForms
Firstly, please download KA.Barcode for .NET WinForms free evaluation and unzip it. "KeepAutomation.Barcode.Windows.dll", User Manual & End User License Agreement are offered in the download package.
Note: As the generated EAN-13 barcode image will include a "KA Barcode" watermark randomly, this evaluation version can not be used for commercial applications.
Create EAN-13 Barcode in .NET Windows Forms
  1. Download and unzip the evaluation version of EAN-13 Barcode SDK in .NET WinForms.
  2. Add "KeepAutomation.Barcode.Windows.dll" from the unzipped package to your Visual Studio Toolbox.
  3. Drag and drop "BarCodeControl" from Visual Studio Toolbox to Form1.
  4. Choose EAN13 barcode type in Properties window and an EAN-13 barcode image is created.
  5. Change other properties of EAN-13 barcode image through the "Properties" window.
Generate EAN-13 in .NET WinForms Using C# or VB.NET
  1. Add "KeepAutomation.Barcode.Windows.dll" to your project reference.
  2. Using the following C# or VB demo code to make EAN-13 barcode image in .NET WinForms.
C# Sample code
     BarCode ean13 = new BarCode();
ean13.Symbology = KeepAutomation.Barcode.Symbology.EAN13;
ean13.CodeToEncode = "012345678901";
ean13.generateBarcodeToImageFile("C://barcode-ean13-csharp.gif");

VB Sample code
     Dim ean13 As KeepAutomation.Barcode.Bean.BarCode = New KeepAutomation.Barcode.Bean.BarCode

ean13.Symbology= KeepAutomation.Barcode.Symbology.EAN13
ean13.CodeToEncode = "012345678901"
ean13.generateBarcodeToImageFile("C://barcode-ean13-vbnet.gif")

Create EAN-13 Add-on Barcodes in .NET WinForms
EAN-13 barcode SDK allows users to add 2 or 5 digits supplemental data to the EAN-13 barcode. Once encode the EAN-13 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.
C# Sample code
     BarCode ean13sup2 = new BarCode();
ean13sup2.Symbology = KeepAutomation.Barcode.Symbology.EAN13Sup2;
ean13sup2.CodeToEncode = "012345678901";
ean13sup2.X = 2;
ean13sup2.SupplementCode = "12";
ean13sup2.SupplementHeight = 0.8f;
ean13sup2.SupplementSpace = 15;
ean13sup2.generateBarcodeToImageFile("C://ean13sup2-csharp.png");
VB Sample code
     Dim ean13sup2 As KeepAutomation.Barcode.Bean.BarCode = New KeepAutomation.Barcode.Bean.BarCode

ean13sup2.Symbology = KeepAutomation.Barcode.Symbology.EAN13Sup2
ean13sup2.CodeToEncode = "012345678901"
ean13sup2.SupplementCode = "12"
ean13sup2.SupplementHeight = 0.8f
ean13sup2.SupplementSpace = 15
ean13sup2.X = 2
ean13sup2.ImageFormat = System.Drawing.Imaging.ImageFormat.Gif()
ean13sup2.generateBarcodeToImageFile("C://ean13sup2-vb-net.gif")
Free Trial DownloadWinForms EAN-13.NET Class EAN-13Using C#Using VB.NETData Matrix for .NET WinFormsPDF417 for .NET WinFormsQR Code for .NET WinFormsmoreCodabar for .NET WinFormsCode 39 for .NET WinFormsCode 128 for .NET WinFormsEAN-8 for .NET WinFormsEAN 128 for .NET WinFormsIntelligent Mail for .NET WinFormsInterleaved 2 of 5 for .NET WinFormsISBN for .NET WinFormsITF-14 for .NET WinFormsRM4SCC for .NET WinFormsUPC-A for .NET WinFormsUPC-E for .NET WinFormsmore
KeepAutomation provides complete barcode automation solutions for add barcode display 2-dimensional, barcode generation capacity api, and barcode mobile applications. We recommend the customers use high quality ASP.NET html5 document viewer, c# pdf sdk, C# merge PDF files, Split PDF in C#, C# View, edit PDF online , C# Convert PDF to Tiff, C# Convert PDF to text, txt, .net imaging sdk, C# PDF metadata edit from RasterEdge.com.