KA.Barcode for .NET WinForms
How to Generate EAN-13 Image in .NET WinForms
Source code to generate, print EAN-13 in different image formats using Barcode for .NET WinForms
  • Generate 1D EAN-13, EAN-13+2, EAN-13+5 barcodes in Windows forms in .NET Framework
  • Create multiple high-quality linear EAN-13 barcode pictures in C#, VB.NET programming
  • Print, make other EAN/UPC barcodes including EAN-8, EAN-13, and UPC-E
  • Provide detailed generation guides online, such as .NET WinForms barcode guide, Java barcode integration & Excel barcode tutorial
  • String 1D EAN-13 in graphics and save locally in Gif, Tiff, Png, and Bmp/Bitmap formats to local files
  • Simple rotating EAN-13 images in 90, 180, or 270 degrees
  • Provide flexible barcode options with detailed UPC-A image setting tutorial
  • Complete source code are provided with purchase of a Source Code License
  • Support to print 2D barcode in ASP.NET as well, including Code 39 Java, Java PDF417, .NET WinForms Intelligent Mail
  • Compatible with latest GS1 specification to allow valid image printouts for all printers and scanners
EAN-13 is a GS1 linear barcode symbology also called European Article Number 13, EAN/UCC-13, GS1-13, GTIN-13, with variants EAN-13 Supplement 2 (a two-digit Add-On), EAN-13 Supplement 5(a five-digit add-on).
NET. How to Generate Barcodes in RDLC Using C#.NET. ....
Example tutorial and sample code for reset barcodes with width, human-readable text ....
Image object to make further adjustment using VB .NET syntax coding. Dim barcode As KeepAutomation.Barcode.Bean.BarCode = New...
KA.Barcode Generator, an outstanding barcode component API SDK software, enables you to create, integrate EAN-13, EAN-13+2, EAN-13+5 images and other symbologies with best quality in .NET winforms applications. Furthermore, the user-friendly interface provides easy barcode settings with featured tutorials below:
Install EAN-13 Barcode Maker Addin into .NET WinForms
  1. 1.
  2. 2.
    Add reference: Add "KeepAutomation.Barcode.Windows.dll" to your .NET Winforms project reference
  3. 3.
    Add to toolbox: To add BarcodeControl to your .NET Winforms toolbox
EAN-13 Image Setting with Drag & Drop Barcode Control
  1. 1.
    In "Choose Toolbox Items" form, click button "Browse...", and select KeepAutomation.Barcode.Windows.dll
  2. 2.
    Now you will see BarCodeControl in your toolbox
  3. 3.
    Drag and drop the BarCodeControl into the Forms and a Codabar image is generated
  4. 4.
    Find barcode setting panel in the left side and change barcode symbology into EAN-13
  5. 5.
    Now you can customize the following setting.
How to Generate QR Code Image in VB.NET Projects. VB.NET source code to generate, print QR Code in different image formats using .NET Barcode...
View How to generate barcode in C#.NET using ASP.NET? ....
Royalty-free, perpetual license with C# source code option. As a professional barcode generator control SDK library ....
QR Code Overview in .NET WinForms Library. QR Code, known as Denso Barcode, QRCode, Quick Response Code, JIS X 0510, and ISO/IEC18004, is a 2D...

EAN13 Barcode Unit

You can generate EAN13 images with three units of measure, and they are cm, inch and pixel. Pixel is the default value for a generated EAN13 bar code image. You can customize this parameter by changing the BarcodeUnit in the property panel.

EAN-13 Image Resolution

KA.Barcode Generator allows you to create and display high quality barcode images in Window Applications. You can adjust EAN-13 image resolution through DPI setting for high-quality image generation. Default value is 72 dots per inch.

EAN-13 Barcode Margins / Quiet Zones

The EAN13 GS1bar code General Specifications require quiet zones on horizontal sides of the EAN-13 image. A minimum 10X wide margin are automatically added on left and right side of an EAN-13 image. You can add more margin by changing the left margin, right margin, top margin and bottom margin.

EAN-13 Image Formats

If you want to generate and save EAN13 barcode in Png image format, just find ImageFormat parameter in the right side property panel and select Png. Other image formats supported include Gif, Jpg, Tiff and Bmp.

EAN-13 Image Orientation

KA.Barcode Generator for .NET WinForms provide four types of image rotation for EAN13 image, including Degree0, Degree90, Degree180 and Degree270.

EAN-13 Supplement

If you want to encode some more data into an EAN-13 image, you can add a two-digit or a five-digit add-on symbol. To do this, first you will need to select EAN13Sup2 in the barcode symbology, and then fill in the supplemental data. You can adjust supplement space and supplement height as well. Default value for supplement height is 0.8F that of the primary barcode image, valid from 0 to 1. Default value for supplemental space is 15 pixels.
EAN-13 Image Setting in C#.NET and VB.NET Class Library
Copy the C#, VB.NET demo syntax for generating, displaying EAN-13 in WinForms with this barcode maker:
using KeepAutomation.Barcode.Bean;
BarCode ean13= new BarCode();
ean13.Symbology = KeepAutomation.Barcode.Symbology.EAN13;
ean13.CodeToEncode = "123456789012";
ean13.BarcodeUnit = BarcodeUnit.Pixel;
ean13.DPI = 72;
ean13.X =2;
ean13.LeftMargin = 3;
ean13.RightMargin = 3;
ean13.TopMargin = 3;
ean13.BottomMargin = 3;
ean13.Orientation = KeepAutomation.Barcode.Orientation .Degree0
ean13.ImageFormat = System.Drawing.Imaging.ImageFormat.Png;
Dim ean13 As KeepAutomation.Barcode.Bean.BarCode = New KeepAutomation.Barcode.Bean.BarCode

ean13.Symbology = KeepAutomation.Barcode.Symbology.EAN13
ean13.BarcodeUnit = BarcodeUnit.Pixel
ean13.DPI = 72
ean13.CodeToEncode = "123456789012"
ean13.X = 2
ean13.LeftMargin = 3
ean13.RightMargin = 3
ean13.TopMargin = 3
ean13.BottomMargin = 3
ean13.Orientation = KeepAutomation.Barcode.Orientation .Degree0
ean13.ImageFormat = System.Drawing.Imaging.ImageFormat.Png