Our Customers
Contact Us Email: support@barcodelib.com
Home > .NET WinForms Barcode > Windows Forms Barcode Creation Guide > .NET Windows Forms Interleaved 2 of 5 Barcode Creating & Encoding
Download Barcode for .NET WinForms Trial

Interleaved 2 of 5 Barcode Generator in .NET Windows Forms

Interleaved 2 of 5 Barcode Generation in .NET WinForms Application
  • Perfectly built in managed C# and in accordance with .NET 2.0 or greater
  • Easy to drag and drop .NET Interleaved 2 of 5 linear control to Windows application form
  • Generate high-readability Interleaved 2 of 5 barcode image at fast speed
  • Generate Interleaved 2 of 5 barcode using C# or VB class in .NET WinForms program
  • Provide detailed instruction for generating and saving Interleaved 2 of 5 barcode
  • Offer various functions for Interleaved 2 of 5 barcode adjustment in Windows Forms project
  • A mature .NET WinForms barcode generator component that has been appreciated all over the world
.NET Windows Forms Interleaved 2 of 5 Barcode Features
Compatibility: Interleaved 2 of 5 barcode generator component is compatible with ISO/IEC 16390 (Second edition 2007-06-15).
Data length and encodable characters: variable pairs of data (0, 1, 2, 3, 4, 5, 6, 7, 8 & 9).
Structure:
  • Leading quiet zone;
  • Start pattern;
  • One or more pairs of symbol characters representing data (including optional symbol check character);
  • Stop pattern;
  • Trailing quiet zone.
Create .NET WinForms Interleaved 2 of 5 Barcode Through Control
  1. Create a WinForms project in your Visual Studio.
  2. Add BarcodeLib.Barcode.WinForms.dll to the Toolbox in your Visual Studio and four components (LinearWinForm, QRCodeWinForm, DataMatrixWinForm and PDF417WinForm) are added.
  3. Drag component LinearWinForm to Form1 window.
  4. Select Interleaved 2 of 5 barcode type through Properties window and change other settings of the barcode (if necessary).
  5. Get your project started and you will see the generated barcode image.
Create .NET WinForms Interleaved 2 of 5 Barcode Image Using C# & VB SDK

Interleaved 2 of 5 Barcode Generation Using C# & VB .NET Class

Initially, you should add reference (BarcodeLib.Barcode.WinForms.dll) to your .NET WinForms project. Then, you can start writing your codes.
Generating Interleaved 2 of 5 barcode in C#.NET Windows Forms
     BarcodeLib.Barcode.Linear inte2of5 = new BarcodeLib.Barcode.Linear();
inte2of5.Type = BarcodeType.INTERLEAVED25;
inte2of5.Data = "102321";
inte2of5.AddCheckSum = false;

inte2of5.UOM = UnitOfMeasure.INCH;
//inte2of5.BarWidth = 0.03f;
//inte2of5.BarHeight = 0.3f;
inte2of5.ResizeImage = true;
inte2of5.ImageWidth = 1.5f;
inte2of5.ImageHeight = 0.7f;
inte2of5.ImageFormat = System.Drawing.Imaging.ImageFormat.Jpeg;

//Save Interleaved 2 of 5 barcode image into your system;
inte2of5.drawBarcode("c://inte2of5.jpeg");
Generating Interleaved 2 of 5 barcode in VB.NET Windows Forms
     Dim inte2of5 As New BarcodeLib.Barcode.Linear()
inte2of5.Type = BarcodeType.INTERLEAVED25
inte2of5.Data = "102321"
inte2of5.AddCheckSum = false

inte2of5.UOM = UnitOfMeasure.INCH
'inte2of5.BarWidth = 0.03F
'inte2of5.BarHeight = 0.3F
inte2of5.ResizeImage = true
inte2of5.ImageWidth = 1.5F
inte2of5.ImageHeight = 0.7F
inte2of5.ImageFormat = System.Drawing.Imaging.ImageFormat.Jpeg

'Save Interleaved 2 of 5 barcode image into your system
inte2of5.drawBarcode("c://inte2of5.jpeg")
Commonly Used .NET Windows Forms Barcode Images
WinForms 1D Barcodes:
WinForms 2D Barcodes:
Commonly used 2d barcodes: Data Matrix, PDF 417, QR-Code.



See Also: Related Barcoding Tutorials

.NET Windows Forms Visual C# & Visual Basic Barcoding Tutorials