Our Customers
Contact Us Email: support@barcodelib.com
Home > ASP.NET Barcode > ASP.NET Barcode Generation Guide > How to Create & Stream ITF-14 Barcode in ASP.NET Application
Download Barcode for ASP.NET Trial

ITF-14 Barcode Generation in ASP.NET

Use C# & VB.NET Code to Create ITF-14 Barcode Images in ASP.NET Applications
  • Mature ITF-14 barcode encoding sdk specialized in generating 1d barcodes in ASP.NET
  • Written in managed C#, fully compatible with .NET Framework 2.0 and above
  • Able to generate ITF-14 barcode in ASP.NET web service, ASP.NET Class & IIS
  • Easy to create ITF-14 barcode images in ASP.NET web site & console applications
  • Create & output readable ITF-14 barcode to bmp, gif, jpeg, png and itff image files quickly
  • Free to resize generated ITF-14 barcode images in various ASP.NET applications
ASP.NET ITF-14 Barcode - Overview
ITF-14 is also known as the UPC Shipping Container Symbol, which is mainly used to mark cartons, cases, or pallets. It can be counted as the GS1 implementation of linear barcode type Interleaved 2 of 5 barcode.
The most distinguishing feature of ITF-14 barcode image is that they have Bearer Bars, which refers to the thick black border around the barcode symbol.
To read more information about ITF-14 barcode, please refer to .NET ITF-14 Barcode Overview.
ASP.NET ITF-14 Barcoding Control - Installation
The installation of ITF-14 barcode generating dll to ASP.NET may contain two parts.
  1. Install "Barcodelib.Barcode.ASP.NET.dll" to your ASP.NET project by adding reference.
  2. Install "Barcodelib.Barcode.ASP.NET.dll" to the toolbox of Visual Studio, after which, you can see four new items in the toolbox.
ASP.NET ITF-14 Barcoding Control - ITF-14 Generation
You can generate high-quality ITF-14 barcode images in both IIS barcode application and ASP.NET web form controller.
  1. How to Generate ITF-14 Barcode in IIS Barcode Application
    • Download the trial package and find folder "barcode".
    • Copy folder "barcode" to your IIS project, e.g. C:\inetpub.
    • Open a new virtual directory in your IIS named "barcode", and connect it to the above "barcode" folder pasted in inetpub.
    • Restart IIS and navigate to:
      To customize properties of generated ITF-14 barcode image, please read web stream URL parameters for ITF-14 barcode.
    • If you want to insert this ITF-14 image in your aspx or html page, please pass the url to IMG tag or src value. Like below:
      <img src="http://YourDomain:port/barcode/linear.aspx?Type=18&Data=3011234500010" />
      Using this method, it will not generate any barcode images in your IIS server side.
2. How to Create ITF-14 Barcode in ASP.NET Web Controller
  1. Install the "Barcodelib.Barcode.ASP.NET.dll" to your ASP.NET project and Visual Studio toolbox.
  2. Copy files "linear.aspx", "linear.aspx.cs" to your ASP.NET project.
  3. Drag & drop "LinearASPNET" from the toolbox to the split part of your aspx page.
  4. Change barcode type to ITF-14 and adjust its data value to a 13-digit character in the "Properties" window.
  5. Run the project and a standard ITF-14 barcode image will be generated.
ASP.NET ITF-14 Barcoding Control - Using C# & VB.NET
Provide C# class code for ITF-14 barcode generation in ASP.NET class applications.
     BarcodeLib.Barcode.Linear barcode = new BarcodeLib.Barcode.Linear();
barcode.Type = BarcodeType.ITF14;

// encode 13-digit data
barcode.Data = "3011234500001";

barcode.BearerBars = BearerBar.Frame;
barcode.BearerBarWidth = 3;
barcode.N = 3;

barcode.BarWidth = 1;
barcode.LeftMargin = 10;
barcode.RightMargin = 10;
barcode.TopMargin = 10;
barcode.BottomMargin = 10;

// output generated barcode image into your system
Offer VB.NET class code to generate & print ITF-14 barcode in ASP.NET web class.
     Dim barcode As New BarcodeLib.Barcode.Linear()
barcode.Type = BarcodeType.ITF14

' Enter a 13-digit data
barcode.Data = "3011234500001"

' Set itf-14 barcode properties
barcode.BearerBars = BearerBar.Frame
barcode.BearerBarWidth = 3
barcode.N = 3

barcode.BarWidth = 1
barcode.LeftMargin = 10
barcode.RightMargin = 10
barcode.TopMargin = 10
barcode.BottomMargin = 10

' output generated barcode image into your system
Want more C# or VB.NET class code for customizing image properties of ITF-14 barcode? Please follow this link: VB code for ITF-14 barcode generation in .NET and C# code for ITF-14 barcode generation in .NET.
Generate Other 1D & 2D Barcodes in ASP.NET
Support Linear Barcodes:
Support Matrix Barcodes:
Generate ASP.NET 2D Barcodes: Data Matrix, PDF 417, QR Code.

Other Related Barcode Generation Articles

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