.NET Barcode Generator
for WinFroms Application in C#.NET
Winforms .NET Barcode Generation DLL
Barcode .NET WinForms > Barcode in .NET WinForms > EAN-13
Linear Barcode in .NET WinForms
Code 39 in C#
Code 128 in C#
EAN-13 in C#
EAN 128 in C#
UPC-A in C#
EAN-13 .NET Barcode Generator/Library for C#.NET
EAN 13 Barcode Generator/SDK in C#.NET - Overview
EAN-13 .NET barcode generation library is an EAN-13 and EAN-13 supplement 2 or 5 barcode generator for C# .NET projects in Windows Forms application. Easy-to-configure assistant tool helps you to insert dynamic barcodes into .NET Framework Applications using C# Class library and C#.NET sample codes. EAN 13 barcode control supports high quality GIF, BMP, PNG, JPEG/JPG and TIFF image format.
EAN 13 barcode library enables barcode generation capability into Visual C# .NET projects. Royalty-free perpetual developer licenses and optional source code are available in Aspper EAN 13 generator. Properties of the EAN 13 barcode library are allowed to be customized.
Aspper.com helps .NET programmers to generate most popular dynamic linear and 2D barcodes in Windows Forms applications using C# barcode class library.

Linear barcodes: Code 128, Code 39, GS1-128,UPC-A

2D barcodes: Data Matrix,PDF-417,QR Code
EAN 13 Barcode Generator/Library for C#.NET - Benefits
EAN 13 Barcode Generator/Library for .NET Applications
Aspper.com provides complete information of User Guide for Visual C# solution to generate dynamic EAN 13 barcodes into .NET applications and report solution.
How to Create Dynamic EAN 13 Barcodes on C#.NET App

Generate and Draw EAN 13 1D Barcodes in C#.NET Classes

  1. Download the EAN 13 barcode generation SDK and unzip it. Copy the generation dll to your C#.NET project folder.
  2. Open your project in Visual Studio; add EAN 13 barcode generation dll to project reference.
  3. Right click the form, choose (view code) in the list. Barcodes could be created easily by adding C# code.
// Create linear barcode object
ean13 = new BarCode();
// Set barcode symbology type
ean13.Type = Symbology.EAN13
// Set barcode data to encode
ean13.Data = "012345678909"
// Draw & print generated barcode to png image file
Parameter setting of EAN 13 with C#.NET
// Set barcode data to encode in EAN 13
ean13.Data = "012345678909"
// Set barcode type, Valid type: symbology.EAN13Sup2, Symbology.EAN13Sup5
ean13.Symbology = Symbology.Ean13;
// Unit of measure for all size related setting in the library.
ean13.UOM = UnitOfMeasure.PIXEL;
//Set the width (X) of bar module, default is 2 pixel;
ean13.X = 2;
//Set the height (Y) of bar module, default is 75 pixel;
ean13.Y = 75;
// Set the margins of left, right, top, bottom margins in images. Defaults are 0.
ean13. MarginLeft = 0;
//Set Image resolution in dpi, default is 72 dpi.
ean13.Resolution = 72;
//Supports 4 types of barcode orientation: 0, 90, 180, 270 degrees
ean13. Angle = Angle. Degree0;
//If true, apply checksum digit characters. Default is false.
ean13.AddCheckSum = true;
Text setting for EAN 13 with C#.NET
// If true, display the human readable text under the barcode
ean13.ShowText = true;
// If true, display the checksum digit
ean13. ShowCheckSum Char = true;
// Set the font style
ean13.TextFont = new Font("Arial", 9f, FontStyle.Regular);
// Set the space between barcode and text. Default is 6 pixel.
ean13.TextMargin = 6;
Format setting for EAN 13 with C#.NET
// Generate EAN 13 and encode barcode to gif format
ean13.Format = ImageFormat.Gif;
Color setting for EAN 13 with C#.NET
// Set the background color of barcode image, Default is white.
ean13. BackgroundColor = white;
// Set the foreground color of barcode image, Default is black.
ean13. ForegroundColor = black;
Special Setting of EAN 13
// Set encoding supplement data of EAN 13. Valid values are 2 or 5 digits
ean13. SupData = "";
// Set the bar module height. Default is 0.8 (80% of Y - bar module height).
ean13. SupHeight = 0.8f;
// Set the separation between the barcode and the supplement. Default is 15 pixel.
ean13. SupSpace = 15;

Drag and Drop EAN 13 Linear Barcodes to C#.NET Form

  1. Download the EAN 13 barcode generation SDK and unzip it. Copy the generation dll to your C#.NET project folder.
  2. Open your project in Visual Studio after the installation.
  3. Right click Toolbox in Visual Studio then click (Choose Item) button. Click button (Browse) in the Choose Toolbox Items dialog.
  4. Find the C#.NET barcode dll, and then click (OK) button.
  5. The barcode items will be in the (Component) section of the Tools Palette.
  6. Drag and drop the barcode control in the toolbox to your .NET Windows Form. Double click the barcode image in the forms.
  7. It is easy to generate barcode by using C# code.