BizCode Barcode Generator for Winforms
The most robust & powerful barcode component for Microsoft .NET Windows Forms
Quick Overviews
  • Professional barcode control
  • Flexible controls provided
  • Support WinForms projects
  • Linear & 2D barcodes support
  • Winforms Data-binding support
How to Encode EAN-13 Data in .NET WinForms
BusinessRefinery.com provides a set of methods for EAN-13 generation, and Winforms Barcode EAN-13 Generator is one of it. Winforms Barcode EAN-13 Generator supports to encode EAN-13 barcode in an efficient and accurate way in your Windows forms applications.
Winforms Barcode EAN-13 Generator also supports to add supplemental 2 & 5 digits for EAN-13 barcodes. View more information of EAN-13 size and image in Winforms:
EAN-13 Data Related Properties

Symbology

With Barcode Generator for Winforms, users are allowed to encrypt EAN-13 barcode encodable character sets using Symbology property.

Winforms EAN-13 Barcode encodes:
  • 0, 1, 2, 3, 4, 5, 6, 7, 8, 9

Code

With Barcode Generator for Winforms, users are allowed to control EAN-13 barcode data length using Code property.

Supplement Code

With Barcode Generator for Winforms, users are allowed to add supplementary barcode for EAN-13 barcode Symbology and SupplementCode properties.

Check Digit Calculation

With Barcode Generator for Winforms, users are allowed to calculate and display an optional Modulo 43 check digits for EAN-13 barcodes as they wish using AddChecksum and DisplayChecksumDigit properties.

Human-readable Text

With Barcode Generator for Winforms, users are allowed to show human-readable text with customized text style under generated EAN-13 symbols DisplayText and Textfont properties.
Customize EAN-13 Barcode Data in Winforms
Ensure have installed those programs before you encrypt EAN-13 valid data in .NET Winforms:
  • Microsoft .NET Framework 2.0/3.0/4.0
  • Microsoft Visual Studio 2005/2008/2010 (Express, Professional & Standard Edition)
  • Barcode Generator for Winforms installed
Customize EAN-13 Barcode Images in Windows Forms Using BarcodeControl
  1. Add .NET Winforms Barcode Control onto your .NET Visual Studio Toolbox;
  2. Drag and drop the WinLinearBarcode control into the Forms;
  3. You will see a barcode image generated;
  4. Right click you mouse to activate barcode setting panel and choose Symbology to EAN13;
  5. Select Symbology, Code, SupplementCode, AddChecksum, DisplayChecksumDigit, DisplayText and Textfont respectively to customize your UPC-A barcodes.
Encode EAN-13 Barcode Data in Winforms Using C#, VB.NET Class
using BusinessRefinery.Barcode;

Linear barcode = new Linear();
barcode.Symbology = Symbology.EAN13;
barcode.Code = "0123456789012";


// Add check digit for EAN-13 barcode
barcode.AddChecksum = true;

// Display EAN-13 barcode human-readable text with customized
font style

barcode.DisplayText = true;
barcode.TextFont = new Font("Arial", 11.0f, FontStyle.Bold);

barcode.drawBarcode2ImageFile("c:/ean-13-csharp.gif");
Dim barcode As BusinessRefinery.Barcode.Linear = 
New BusinessRefinery.Barcode.Linear()

' Add EAN-2 barcode for EAN-13
barcode.Symbology = BusinessRefinery.Barcode.Symbology.EAN13_2
barcode.Code = "0123456789012"
barcode.SupplementCode = "12"

' Add check digit for EAN-13 barcode
barcode.AddChecksum = true

' Display EAN-13 barcode human-readable text with customized
font style

barcode.DisplayText = true
barcode.TextFont = new Font("Arial", 11.0f, FontStyle.Bold)

barcode.drawBarcode2ImageFile("c:/ean-13-vb-net.gif")