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.
EAN 13 Barcode Generator/Library for C#.NET - Benefits
- EAN 13 barcode library for C#.NET could easily integrate barcodes in Windows Forms applications, Class Library, Console Application, Windows Control Library and Crystal Reports Application.
- 100% managed code with strong name signatures and signed DLLs.
- EAN 13 barcode library for C# supports EAN 13 supplement 2 or 5 barcode generation.
- Barcode generator supports Winforms Data-Binding.
- EAN 13 barcode SDK is completely compatible with vista, Windows 2000, XP, Windows 7, Window Server 2003 and 2008 Operating System.
- This library generates EAN 13 and EAN 13 supplement 2 or 5 barcode using Visual Studio 2005/2008/2010.
- This barcode generator helps you to create barcode in .NET Framework 2.0, 3.0, 3.5 or greater.
- Checksum is easily to apply and it is calculated automatically by this dll.
- The human-readable text of EAN 13 symbology is allowed to be adjusted.
- 4 types of orientations are supported by this SDK (0, 90, 180, 270 degrees).
- Users are entitled to customize the Properties including X, Y-dimension, wide-to-narrow ratio, margin size of the barcode created by the C#.NET control.
- EAN 13 C#.NET professional supports images formats of JPEG, GIF, BMP, PNG, TIFF.
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
- Download the EAN 13 barcode generation SDK and unzip it. Copy the generation dll to your C#.NET project folder.
- Open your project in Visual Studio; add EAN 13 barcode generation dll to project reference.
- 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
ean13.drawBarcode("csharp-ean13.png")
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;
ean13.drawBarcode("C:\\barcodeimages\\ean13.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
- Download the EAN 13 barcode generation SDK and unzip it. Copy the generation dll to your C#.NET project folder.
- Open your project in Visual Studio after the installation.
- Right click Toolbox in Visual Studio then click (Choose Item) button. Click button (Browse) in the Choose Toolbox Items dialog.
- Find the C#.NET barcode dll, and then click (OK) button.
- The barcode items will be in the (Component) section of the Tools Palette.
- Drag and drop the barcode control in the toolbox to your .NET Windows Form. Double click the barcode image in the forms.
- It is easy to generate barcode by using C# code.