Our Customers
Contact Us Email: support@barcodelib.com
Home > ASP.NET Barcode > ASP.NET Barcode Generation Guide > ASP.NET EAN-8 Barcode Generator Control DLL
Download Barcode for ASP.NET Trial

ASP.NET EAN-8 Barcode Generator DLL

EAN-8 Barcode Generation Tutorial in ASP.NET Web Applications & IIS
  • Completely designed and coded in Visual C#.NET
  • Compatible with latest EAN-8 barcode symbology standards
  • Generate EAN-8 barcode image in ASP.NET web pages
  • Create EAN-8 barcode in IIS without using .NET Visual Studio
  • Support multiple EAN-8 barcode image formats, e.g. Png, Tiff and Gif
  • Friendly provide developer guide to help users generate barcodes
  • Easy to set up and no registration key or activation code required
  • Competitive on the market with affordable and royalty-free developer license
ASP.NET EAN-8 Barcode Image Introduction
Encodable characters: 10 characters (0, 1, 2, 3, 4, 5, 6, 7, 8 & 9)
Fixed data length: 8 characters (A mandatory checksum digit is included)
Add-On symbol: Two-Digit Add-On symbol or Five-Digit Add-On symbol
Code type: continuous
Create EAN-8 Barcode Image by Dragging and Dropping
  1. Create a web form project in your Visual Studio.
  2. Add BarcodeLib.Barcode.ASP.NET DLL to the Toolbox and four items are added in (QRCodeASPNET, PDF417ASPNET, DataMatrixASPNET and LinearASPNET).
  3. Copy "linear.aspx" and "linear.aspx.cs" to your project folder.
  4. Drag and drop LinearASPNET to your project.
  5. Select EAN-8 in Type item under Properties window.
  6. Change other properties of EAN-8 in Properties window, such as data, supplement data, image format and color.
  7. Debug and the barcode image is generated on your web page.
Stream EAN-8 Barcode Using C# & VB.NET Class
First of all, you should add reference (BarcodeLib.Barcode.ASP.NET DLL) to your ASP.NET project.
Then, write the following sample codes in your ASP.NET class.
Generate EAN-8 barcode using ASP.NET C# class:
     BarcodeLib.Barcode.Linear ean = new BarcodeLib.Barcode.Linear();
ean.Type = BarcodeType.EAN8;
ean.Data = "1990321";

ean.UOM = UnitOfMeasure.PIXEL;
ean.BarWidth = 2;
ean.BarHeight = 120;
ean.LeftMargin = 15;
ean.RightMargin = 15;
ean.TopMargin = 15;
ean.BottomMargin = 15;

ean.ImageFormat = System.Drawing.Imaging.ImageFormat.Tiff;

//save barcode image into your system
ean.drawBarcode("c://ean.tiff");
Generate EAN-8 barcode using ASP.NET VB class:
     Dim ean As New BarcodeLib.Barcode.Linear()
ean.Type = BarcodeType.EAN8
ean.Data = "1990321"

ean.UOM = UnitOfMeasure.PIXEL
ean.BarWidth = 2
ean.BarHeight = 120
ean.LeftMargin = 15
ean.RightMargin = 15
ean.TopMargin = 15
ean.BottomMargin = 15

ean.ImageFormat = System.Drawing.Imaging.ImageFormat.Tiff

'save barcode image into your system
ean.drawBarcode("c://ean.tiff")
Generate EAN-8 Barcode in Internet Information Services (IIS)
You can generate EAN-8 barcode image in you IIS in a few steps:
  1. Download and unzip the free trial package.
  2. Copy "barcode" folder in the package to your IIS folder.
  3. Open your IIS and create a new virtual directory named barcode.
  4. Link the virtual directory to the above "barcode" folder.
  5. Restart your IIS and navigate to:
    http://YourDomain:port/barcode/linear.aspx?Type=14&Data=1990321&Rotate=1
All Supported ASP.NET Barcode Symbologies
Support Linear Barcodes:
Support Matrix Barcodes:
2D Barcodes Included: Data Matrix, PDF 417, QR Code.



Other Related Barcode Generation Articles

ASP.NET C# & VB.NET Barcode Generation Guide