Our Customers
Contact Us Email: support@barcodelib.com
Home > ASP.NET Barcode > ASP.NET Barcode Generation Guide > ASP.NET Code 11 Barcode Generation Tutorial
Download Barcode for ASP.NET Trial

ASP.NET Code 11 Barcode Generator Control

ASP.NET Code 11 Barcode Image Generation Tutorial
  • Easily generate well Code 11 barcode image in .NET Framework, C#.NET & VB.NET
  • Simply generate Code 11 barcode image in ASP.NET with detailed tutorial
  • Generate Code 11 barcode image in ASP.NET Crystal and RDLC Reports
  • An advanced Barcode Generator DLL, supporting most linear and 2D barcodes
  • Print and output Code 11 barcode image to various objects, like Graphics object
  • Provide royalty-free ASP.NET Barcode Generator licenses upon purchasing
Description of ASP.NET Code 11 Barcode
Code 11 is a barcode symbology developed by Intermec in 1977. It is used primarily in telecommunications. This linear barcode symbol can encode any length string consisting of the digits 0-9 and the dash character (-). One or more modulo-11 check digit(s) can be included.
For ASP.NET barcode library, it also generate & encode Codabar, Code 2 of 5, Code 39, Code 128, EAN-13, UPC-A and so on.
How to Generate ASP.NET Code 11 Barcode with A Controller

Drag and drop Code 11 barcode generation controller to your ASP.NET web project

  1. Add reference (BarcodeLib.Barcode.ASP.NET.dll) to the Toolbox in your Visual Studio.
  2. Accurately copy "linear.aspx" and "linear.aspx.cs" two items to your project folder.
  3. Drag and drop LinearASPNET to your Visual ASP.NET project.
  4. Select Code 11 in Type item under Properties window.
  5. Change remained settings of Code 11 barcode image through the Properties window.
  6. Debug it to see the generated Code 11 barcode image.
How to Generate Code 11 Barcode in ASP.NET Web Form Applications

Generate ASP.NET Code 11 barcode image using C# class

Code 11 barcode image can be generated with the following C# sample codes, before which BarcodeLib.Barcode.ASP.NET.dll should be added to your ASP.NET project reference.
     BarcodeLib.Barcode.Linear code11 = new BarcodeLib.Barcode.Linear();
code11.Type = BarcodeType.CODE11;
code11.Data = "1547892156-23";
code11.AddCheckSum = true;

code11.UOM = UnitOfMeasure.PIXEL;
code11.BarWidth = 1;
code11.BarHeight = 60;
code11.LeftMargin = 10;
code11.RightMargin = 10;
code11.TopMargin = 10;
code11.BottomMargin = 10;
code11.ImageFormat = System.Drawing.Imaging.ImageFormat.Tiff;

// Save barcode image into your system
code11.drawBarcode("c://code11.tiff");

Generate ASP.NET Code 11 barcode image using VB class

Code 11 barcode image can be generated with the following VB sample codes, before which BarcodeLib.Barcode.ASP.NET.dll should be added to your ASP.NET project reference.
     Dim code11 As New BarcodeLib.Barcode.Linear()
code11.Type = BarcodeType.CODE11
code11.Data = "1547892156-23"
code11.AddCheckSum = True

code11.UOM = UnitOfMeasure.PIXEL
code11.BarWidth = 1
code11.BarHeight = 60
code11.LeftMargin = 10
code11.RightMargin = 10
code11.TopMargin = 10
code11.BottomMargin = 10

code11.ImageFormat = System.Drawing.Imaging.ImageFormat.Tiff

' Save barcode image into your system
code11.drawBarcode("c://code11.tiff")
How to Generate Code 11 Barcode Image in Internet Information Services
  1. Download and unzip the free ASP.NET Barcode Generator DLL trial package.
  2. Open the unzipped package and copy "barcode" folder to your IIS folder.
  3. Create a new virtual directory in your IIS, named as barcode.
  4. Connect the virtual directory to the above "barcode" folder.
  5. Restart your IIS instantly.
  6. Open your browser and navigate to:
    http://YourDomain:port/barcode/linear.aspx?Type=1&Data=1547892156-23
Available Barcode Symbologies in ASP.NET Web
Support Linear Barcodes:
Support Matrix Barcodes:
Available 2D Barcodes: Data Matrix, PDF 417, QR Code.



Other Related Barcode Generation Articles

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