Our Customers
Contact Us Email: support@barcodelib.com
Home > .NET Barcode > C# Barcode Generation Guide > C#.NET Interleaved 2 of 5 Barcode Generator DLL, supports main linear & 2d barcodes
Download Barcode for .NET Suite Trial

Barcode Generator Lib in C# for Interleaved 2 of 5

Guide to Generate Interleaved 2 of 5 Barcodes in C#.NET Class Library
  • Create Interleaved 2 of 5 in C#.NET with an easy-to-use barcode generating dll
  • Print & generate Interleaved 2 of 5 in SSRS & Crystal Reports with C# class library
  • Easy to draw & create barcode images in both C# ASP.NET & C# WinForms Programs & applications
  • Offer comprehensive options to adjust barcode settings, like barcode font
  • Provide several drawing ways to save Interleaved 2 of 5 with C#.NET programming
  • Flexible redistribution without registration codes or activation keys
C#.NET Linear Interleaved 2 of 5 Barcode Overview
Interleaved 2 of 5, a commonly used linear barcode, has other names, like Code 2 of 5 interleaved and ANSI/AIM ITF 25. It is continuous and can be decoded bi-directionally. Interleaved 2 of 5 can only encode 10 data, that is, digits 0-9. Nowadays, it is mainly used in warehouse and other industrial applications.
To Generate Interleaved 2 of 5 Images in C#.NET Class

Installation

  1. By adding reference, you could integrate Barcodelib.Barcode.ASP.NET.dll or Barcodelib.Barcode.WinForms.dll to your project.
  2. Through choosing items, you could integrate Barcodelib.Barcode.ASP.NET.dll or Barcodelib.Barcode.WinForms.dll to your Visual Studio Toolbox.

Sample C# Codes

     BarcodeLib.Barcode.Linear i25 = new BarcodeLib.Barcode.Linear();
i25.Type = BarcodeType.INTERLEAVED25;
i25.AddCheckSum = true;
i25.Data = "211121211";

i25.ProcessTilde = true;
i25.BarColor = System.Drawing.Color.Blue;
i25.BarWidth = 2;
i25.LeftMargin = 12;
i25.RightMargin = 12;

// More interleaved barcode settings here, like rotation, human-readable text font, CheckSum etc.

// Draw barcode image into your system
i25.drawBarcode("c:/interleaved_2_of_5.jpeg");

// Output interleaved 2 of 5barcode & output to byte array
byte[] barcodeInBytes = i25.drawBarcodeAsBytes();

// Draw interleaved 2 of 5 barcode to Graphics object
Graphics graphics = ...;
i25.drawBarcode(graphics);

// Create interleaved 2 of 5 barcode and output to HttpResponse object
HttpResponse response = ...;
i25.drawBarcode(response);

// Generate interleaved 2 of 5 barcode and output to Stream object
Stream stream = ...;
i25.drawBarcode(stream);

These C# codes are written in Visual C# 2005
To Create Interleaved 2 of 5 Barcodes in C# ASP.NET Web Project
  1. Add Barcodelib.Barcode.ASP.NET.dll to your web project.
  2. Add Barcodelib.Barcode.ASP.NET.dll to Toolbox.
  3. Open the folder barcode in the downloaded trial package and copy files "linear.aspx", "linear.aspx.cs" to your project folder.
  4. Drag LinearASPNET from the Toolbox and drop it on the split part of your aspx page. Then a default Code 128 image tag will display.
  5. Click the produced barcode image and change barcode type to INTERLEAVED25 in the Properties Window or generate an Interleaved 2 of 5 barcode with above C# sample codes for Interleaved 2 of 5 creation.
To Generate Interleaved 2 of 5 Barcodes in C# WinForms Project
  1. Add BarcodeLib.Barcode.WinForms.dll from the trial package to your WinForms Project.
  2. Add BarcodeLib.Barcode.WinForms.dll to your Visual Studio Toolbox.
  3. Drag LinearWinForm to your windows form and click generated image. Then, adjust its barcode type to INTERLEAVED25 in the Properties Window or create an interleaved 2 of 5 image with above free C# codes for Interleaved 2 of 5 generation.
Barcode Types Compatible with C#.NET Guide Generator SDK
C# 1D Barcode Generation:
C# 2D Barcode Generation:
All Linear Barcodes: Codabar, Code 11, Code 2 of 5, Code 39, Code 93, EAN-8, EAN-13, Interleaved 2 of 5, ITF-14 (UPC Shipping Container Symbol), Code 128, EAN 128/GS1 128, MSI Plessey, Intelligent Mail, Planet, Postnet, RM4SCC (British Royal Mail), UPC-A, UPC-E.
All 2D Barcodes: Data Matrix, PDF 417, QR Code.





Provides High Quality Barcode .NET SDK, Barcode .NET WinForms SDK, Barcode ASP.NET SDK, Barcode C# SDK, Barcode VB.NET SDK, Interleaved 2 of 5 C#, Interleaved 2 of 5 VB.NET, Interleaved 2 of 5 SDK for .NET, ASP.NET, .NET WinForms, .NET Reporting Services, Crystal Reports, and RDLC Reports.