KA.Barcode for ASP.NET
How to Create Interleaved 2 of 5 in ASP.NET Application
How to generate Interleaved 2 of 5 barcode symbologies in ASP.NET web applications using Visual C#, VB.NET class library
  • Full integration into MS Visual Studio and .NET Framework
  • Easy to use drag & drop implementation for Interleaved 2 of 5 generation
  • Creating, streaming Interleaved 2 of 5 barcode images in ASP.NET web applications, C#, VB.NET class library
  • Specify images as URL to allow future use in other development environments
  • Provide option to add & calculate a checksum digit for Interleaved 2 of 5
  • Generating Interleaved 2 of 5 in Png, Jpeg, Gif, Tiff, Bmp image formats and save to local files
  • Compatible with ISO/IEC 16390 Interleaved 2 of 5 specification to ensure valid output
KA.Barcode for ASP.NET is the best available barcode encoder control which makes it an easy task for ASP.NET developers to generate, create Interleaved 2 of 5 and other 1D, 2D barcode types in ASP.NET webform/websites. Flexible options are provided for users to adjust barcode properties in setting panel or URL directly with IIS.
Interleaved 2 of 5 Overview in ASP.NET Generator
Interleaved 2 of 5 is a linear numeric barcode symbology with a similar encoding pattern as that of Code 2 of 5. It is also known as ANSI/AIM ITF 25, USS ITF 2/5, 2 of 5 Interleaved, 2/5 Interleaved and primarily used in the distribution and warehouse industry.

Interleaved 2 of 5 Encodable Characters in ASP.NET Generator

  • 0, 1, 2, 3, 4, 5, 6, 7, 8, 9
Interleaved 2 of 5 Generation in ASP.NET Web Control

How to Drag & Drop Interleaved 2 of 5 Control to ASP.NET Project

  1. 1.
    Copy "barcode.aspx" and " barcode.aspx.cs" to the target folder
  2. 2.
    Right-click in "Toolbox" and select "Choose Items..."
  3. 3.
    Click "Browse..." to locate and select "KeepAutomation.Barcode.Web.dll"
  4. 4.
    Drag and drop "BarCodeControl" from Visual Studio Toolbox into the web form and a Interleaved 2 of 5 barcode is created
  5. 5.
    Change barcode symbology to "Interleaved2of5" and customize its properties in the "Properties" panel

How to Generate Interleaved 2 of 5 in C# or VB.NET Programming

It is easy to generate Interleaved 2 of 5 into ASP.NET web form/ website using the C# or VB.NET sample code below.
using KeepAutomation.Barcode.Bean;

BarCode interleaved25 = new BarCode();
interleaved25.Symbology = KeepAutomation.Barcode.Symbology. Interleaved2of5 ;
interleaved25.CodeToEncode = "3157995";
Dim interleaved25 As KeepAutomation.Barcode.Bean.BarCode = New KeepAutomation.Barcode.Bean.BarCode

interleaved25.Symbology = KeepAutomation.Barcode.Symbology.Interleaved2of5
interleaved25.CodeToEncode = "3157995"
interleaved25.generateBarcodeToImageFile("C://interleaved25 -vb-net.gif")

How to Set Wide-narrow-ratio of Interleaved 2 of 5 in ASP.NET

.NET developers are entitled to set wide bar width to narrow bar width ratio of Interleaved 2 of 5 by setting "WideNarrowRatio".
interleaved25.WideNarrowRatio = 2.0f;
interleaved25.WideNarrowRatio = 2.0f
How to Generate Interleaved 2 of 5 in Microsoft IIS Through URL
  1. 1.
    Unzip the trial package, copy "barcode" folder and its contents to your IIS, and create a new virtual directory "barcode"
  2. 2.
    Restart IIS, and navigate to http://localhost/barcode/barcode.aspx?symbology=3&code-to-encode=123
  3. 3.
    Now an Interleaved 2 of 5 is generated, you can change barcode properties in the url above, view http parameters here
  4. 4.
    To add the created barcode images in html or aspx pages, insert the following image tag into your web pages.
    <img src="http://localhost/barcode/barcode.aspx?symbology=3&code-to-encode=12345"/>