barcode generator library for .NET  >  barcode making with C#  >  C#.NET EAN-8 Bar code generator


C# EAN 8 Barcode Generator




Overview

Keepdynamic.com supply EAN-8 C# .NET Barcode Generator for the creation of EAN-8 barcodes in your C# .NET framework projects.

Related solutions for generating EAN-8 image in C#.NET



Features

Technologies of EAN-8 C# .NET Creator

C# .NET EAN-8 Barcode Creator helps you generate EAN-8 barcodes that you probably need in your C# .NET applications. It is entirely built in .NET 2.0 and supports .NET 2.0, 3.0, 3.5, 4.0. Bar coding of EAN-8 in C# .NET classes and console applications is easy. Using this C# .NET Barcode Creator EAN-8 barcodes can also be easy to be generated in ASP.NET web projects, Microsoft Windows Forms, SQL Server Reporting Services (SSRS), and Crystal Reports.

Barcode images generated by C# .NET EAN-8 Barcode Creator

Image formats supported by this EAN-8 C#.NET barcode Creator include gif, jpeg, png, bmp, and tiff. Barcodes EAN-8 can be rotated to 0, 90, 180, or 270 degrees based on specific requirements. The image size and other properties EAN-8 may be adjusted to meet the users' specifications. High quality barcodes EAN-8 are supported by this product without any distortion. Bearer bar for EAN-8 barcode are easy to be generated

Customization of EAN-8 Barcodes

Full functional features of C# .NET EAN-8 Barcode Creator make the operation of barcode easy and simple. Using this EAN-8 creator, the appearance of the human readable characters on EAN-8 barcodes can be enabled or disabled. EAN-8 C# .NET Barcode Creator provided the functionality of configuring the colors of foreground and background. It is easy to encode the returns, tabs and other functions into your C# .NET applications. Bearer bar is also easy to be generated for EAN-8.

EAN-8 Source code and Developer License

Complete C# .NET EAN-8 Barcode Creator source code is provided with the purchasing of unlimited developer license. Royalty is free if purchasing a developer license.


Create EAN-8 using C#.NET

//Create a new barcode object
//set the barcode type to EAN-8 symbology

BarCode barcode = new BarCode();
barcode.SymbologyType = SymbologyType.EAN8;

/*
 Set the encoding data value to EAN-8

 Valid data character set of EAN-8,
   Numeric characters: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9

 EAN-8 barcode encodes a fixed data length of 8 digits including 1 check digit
*/

barcode.CodeText = "1234567";

// Set the checksum as true to EAN-8 symbology
barcode.EnableChecksum = true;

//Set the EAN-8 barcode graphic measurements as Pixel
barcode.GraphicsUnit = KeepDynamic.Barcode.Generator.GraphicsUnit.Pixel;

//Assign the values of bar width and bar height to EAN-8 barcode
barcode.X = 2;
barcode.Y = 75;

//Assign values to the margins around the EAN-8 barcode symbology
barcode.LeftMargin = 0;
barcode.RightMargin = 0;
barcode.TopMargin = 0;
barcode.BottomMargin = 0;

//Set the resolution of EAN-8
//rotate the EAN-8 barcode image orientation

barcode.Resolution = 72;
barcode.Rotate = Rotate.Rotate0;

//Display the characters encoded into the EAN-8 barcode symbology
//Set the font style of characters encoded into the EAN-8 barcode

barcode.DisplayCodeText = true;
barcode.CodeTextFont = new Font("Arial", 11f, FontStyle.Regular);

//Set output image format of EAN-8 as PNG in C#.NET
//Draw EAN-8 barcode image in C#

barcode.Format = ImageFormat.Png;
barcode.drawBarcode("C://barcode-ean8-csharp.png");