EAN-128/GS1-128 Barcode Generator/Library for C#.NET
GS1-128 Barcode Generator in C#.NET - Overview
GS1-128/EAN-128 .NET barcode generator/library for C#.NET in Winforms is an advanced barcode class library for C# .NET application. EAN 128/GS1 128 barcode library SDK enables barcoding capability into Visual C# .NET Windows Forms projects. Optional source code and royalty-free perpetual developer licenses and are available in Aspper EAN 128 generator.
EAN 128 generator provides easy-to-configure assistant tool which lets you easily inserting dynamic barcodes into .NET Framework Applications. High quality GIF, BMP, PNG, JPEG/JPG and TIFF image format are supported by this barcode control. Users are entitled to customize the parameters of barcode EAN 128.
EAN 128 Barcode Generator/Library for C#.NET - Benefits
- EAN 128 barcode library helps you to create barcodes in Windows Forms applications, Class Library, Console Application, Windows Control Library and Crystal Reports Application.
- Barcode generator supports Winforms Data-Binding.
- 100% managed code with strong name signatures and signed DLLs.
- EAN 128 barcode SDK works well with vista, Windows 2000, XP, Windows 7, Window Server 2003 and 2008 OS.
- This library helps you to generate EAN 128 in Visual Studio 2005, 2008, and 2010.
- This barcode dll lets you easily creating 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.
- Barcode generator is fully compatible with GS1 standard of GS1 128.
- Users could adjust the human-readable text of EAN 128 symbology.
- 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 128 C#.NET professional supports images formats of JPEG, GIF, BMP, PNG, TIFF.
EAN 128 Barcode Generator/Library for .NET Applications
Aspper.com provides complete information of
User Guide for Visual C#solution to generate dynamic EAN 128 barcodes into .NET applications and report solution.
How to Create Dynamic EAN 128 Barcodes on C#.NET App
Generate and Draw EAN 128 1D Barcodes in C#.NET Classes
- Download the EAN 128 barcode generation SDK folder and unzip it. Copy the barcode generation dll to your C#.NET project folder.
- Open your project in Visual Studio; add EAN 128 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
// Create linear barcode object
ean128 = new BarCode();
// Set barcode symbology type to EAN 128
ean128.Type = Symbology. EAN128
// Set barcode data to encode
ean128.Data = "0123456789"
// Draw & print generated barcode to png image file
ean128.drawBarcode("csharp-ean13.png")
Basic parameter setting of EAN 128
// Set barcode data to encode
Ean128.Data = "0123456789"
// Set Barcode symbology type
ean128.Symbology = Symbology.EAN128;
// Unit of measure for all size related setting in the library.
ean128.UOM = UnitOfMeasure.PIXEL;
// Bar module width (X) setting, default is 2 pixel;
ean128.X = 2;
// Bar module height (Y) setting, default is 75 pixel;
ean128.Y = 75;
// Left, right, top, bottom margins of barcode images. Defaults are 0.
ean128. MarginLeft = 0;
// Image resolution setting, default is 72 dpi.
ean128.Resolution = 72;
// Barcode orientation setting: 0, 90, 180, 270 degrees
ean128. Angle = Angle. Degree0;
// Encoded data setting
ean128.Data = "0123456789";
// Barcode type setting
ean128.Symbology = Symbology.EAN128;
// Checksum digit setting
ean128.AddCheckSum = true;
characters in the input data. Default is false.
// apply the tilde character "~" default is 72 false.
ean128. EnableTilde = true;
Text setting for EAN 128 with C#.NET
//If true, display human readable text under the barcode
ean128.ShowText = true;
//If true, display the checksum digit
ean128. ShowCheckSum Char = true;
// Text font style setting
ean128.TextFont = new Font("Arial", 9f, FontStyle.Regular);
// Set the space between barcode and text. Default is 6 pixel.
ean128.TextMargin = 6;
Format setting for EAN 128 with C#.NET
// Generate EAN 128 and encode barcode to gif format
ean128.Format = ImageFormat.Gif;
ean128.drawBarcode("C:\\barcodeimages\\ean128.gif");
Color setting for EAN 128 with C#.NET
// Background color setting, Default is white.
ean128. BackgroundColor = white;
// Foreground color setting, Default is black.
ean128. ForegroundColor = black;
Special Setting of EAN 128
// Supplement data setting. Valid values are 2 or 5 digits
ean13. SupData = "";
//Bar module height setting. 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 128 Linear Barcodes to C#.NET Form
- Download the EAN 128 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.