KA.Barcode for .NET Suite
How to Generate Interleaved 2 of 5 in VB.NET Application
How to generate linear Interleaved 2 of 5 barcode in VB.NET class library, ASP.NET web forms, winforms
  • Support Interleaved 2 of 5 creation in .NET applications using VB.NET
  • Draw Interleaved 2 of 5 using VB.NET in ASP.NET Web Forms
  • Create Interleaved 2 of 5 with VB.NET in .NET Windows Forms applications
  • Perfectly work with VB.NET 2.0/3.0/4.0
  • Compatible with Interleaved 2 of 5 ISO specification - ISO / IEC 16390 (2nd edition 2007-06-15)
  • Generate Interleaved 2 of 5 in stream object, in graphics object, and image formats using Visual Basic .NET
  • Print and save Interleaved 2 of 5 as gif, jpeg, png, tiff, and bitmap files in VB.NET class
  • Export high-quality Interleaved 2 of 5 barcodes with customized size, image, text, etc
VB.NET Interleaved 2 of 5 Barcode Generator is a powerful .NET barcode generation class for creating and printing Interleaved 2 of 5 barcodes using VB.NET class. Easy to install in Microsoft Visual Studio, this Interleaved 2 of 5 VB.NET creator may work well with VS 2005 and greater versions.
Interleaved 2 of 5 Barcode Introduction
Interleaved 2 of 5 is also named as ANSI/AIM ITF 25, USS ITF 2/5, 2 of 5 Interleaved, 2/5 Interleaved. It is a continuous two-width barcode symbology encoding digits, used in warehouse, industrial applications.
Interleaved 2 of 5 Encodable Character Set:
  • 0, 1, 2, 3, 4, 5, 6, 7, 8, 9
Interleaved 2 of 5 Generation in VB.NET Programming

How to Install Interleaved 2 of 5 Barcode Encoder for .NET Suite into your Project

  1. 1.
    Download KA.Barcode for .NET Suite Trial and unzip;
  2. 2.
    Add "KeepAutomation.Barcode.Windows.dll" or "KeepAutomation.Barcode.Web.dll" to reference;
  3. 3.
    Add Winform Barcode Control or ASP.NET Barcode Control to Visual Studio .NET ToolBox.

How to Generate Interleaved 2 of 5 in .NET Applications with VB.NET Demo Code

Dim interleaved25 As KeepAutomation.Barcode.Bean.BarCode = New KeepAutomation.Barcode.Bean.BarCode
interleaved25.Symbology = KeepAutomation.Barcode.Symbology.Interleaved2of5

' Set Interleaved 2 of 5 valid input: 0-9. Length: variable.
interleaved25.CodeToEncode = "123456"

' Interleaved 2 of 5 unit of measure: pixel, cm and inch
interleaved25.BarcodeUnit = KeepAutomation.Barcode.BarcodeUnit.Pixel

' Interleaved 2 of 5 image resolution in dpi
interleaved25.DPI = 72

' Interleaved 2 of 5 size settings properties

' Interleaved 2 of 5 module bar width (X dimention), default is 1 pixel.
interleaved25.X = 2

' Interleaved 2 of 5 wide bar to narrow bar Ratio, default is 2.0f.
interleaved25.WideNarrowRatio = 2.5

' Interleaved 2 of 5 barcode image width
interleaved25.BarCodeWidth = 320

' Interleaved 2 of 5 image margin size, minimum value is 2X on four sides according to specification.
interleaved25.LeftMargin = 4
interleaved25.RightMargin = 4
interleaved25.TopMargin = 4
interleaved25.BottomMargin = 4

' Interleaved 2 of 5 image orientation, 0, 90, 180, 270 degrees supported.
interleaved25.Orientation = KeepAutomation.Barcode.Orientation.Degree90

' Set Interleaved 2 of 5 human-readable text style
interleaved25.DisplayText = true
interleaved25.TextFont = new Font("Arial", 10f, FontStyle.Regular)
interleaved25.TextMargin = 7

' Print and save Interleaved 2 of 5 bar codes in Png, Gif, Jpeg/Jpg, Tiff, Bmp image formats.
interleaved25.ImageFormat = System.Drawing.Imaging.ImageFormat.Png
interleaved25.generateBarcodeToImageFile("C://interleaved25_in_vb.png")