KA.Barcode for .NET Suite
How to Generate Leitcode in .NET Application
How to create & draw 1D Leitcode barcode images in C#, VB.NET, ASP.NET web, and Windows Forms projects
  • Mature .NET DLL Class Library for ASP.NET Web application and .NET Windows Forms application
  • Easily and efficiently deploy into .NET Visual Studio 2005/2008/2010
  • Exclusively compiled in C# for Leitcode barcode creation in .NET Suite applications
  • No other barcode fonts are required for Leitcode barcode generation
  • Support providing C# and VB sample code for users to add Leitcode image in .NET
  • Designed to generate over 20 linear and matrix barcodes like Code 128, UPC-A, QR Code, etc
  • Available to save Leitcode barcode images with various formats including png, gif, jpeg and so on
KA.Barcode for .NET Suite is a commonly-used barcode control library, which enables developers to generate Leitcode barcode images into Visual Studio for .NET application. And it may be used in Windows Application, Control Library, Console Application, and other Users can add Leitcode and other barcode types with C# or VB.NET programming.
Leitcode Overview in .NET Component
Leitcode is also known as DHL Leitcode and Deutsche Post Leitcode, which is a linear numeric barcode symbology with fixed 13 data length. And this barcode is designed as implementation of Interleaved 2 of 5. It is used by German Post for mail routing.

Leitcode Barcode Data in .NET SDK Library

  • Numeric digits: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9
Leitcode Generation in .NET Control

How to Install Leitcode Barcode SDK to .NET Application

Firstly, download and unzip free KA.Barcode for .NET Suite evaluation.

How to Drag & Drop Leitcode Barcode Library to .NET Project

  1. 1.
    Create a new project in Visual Studio to activate the toolbox panel
  2. 2.
    Right-click "Components", then select "Choose Items...", and click "Browse..."
  3. 3.
    Choose "KeepAutomation.Barcode.Web.dll" or "KeepAutomation.Barcode.Windows.dll", and click "Open"
  4. 4.
    You can see "BarCodeControl" in the toolbox, and drag it to web or windows form (default barcode is Code 128)
  5. 5.
    Change the barcode type to "Leitcode" and make adjustments in the "Properties" panel, then click the generated barcode image

How to Create Leitcode Using C# or VB.NET Class

Our barcode control supports using C# or VB.NET to implement Leitcode barcode images for .NET application. The following sample codes are provided for users to easily insert barcodes in .NET Visual Studio.

using KeepAutomation.Barcode.Bean;

BarCode leitcode= new BarCode();
leitcode.Symbology= KeepAutomation.Barcode.Symbology.Leitcode;
leitcode.CodeToEncode = "0123456789123";
leitcode.WideNarrowRatio = 2.5f;
leitcode. X=2;

Dim leitcode As KeepAutomation.Barcode.Bean.BarCode = New KeepAutomation.Barcode.Bean.BarCode

leitcode.Symbology= KeepAutomation.Barcode.Symbology.Leitcode
leitcode.CodeToEncode = "0123456789123"
leitcode.WideNarrowRatio = 2.5f
leitcode. X=2
leitcode.ImageFormat = System.Drawing.Imaging.ImageFormat.Png()

How to Create Leitcode with Wide to Narrow Bar in .NET

Wide Bar to Narrow Bar Ratio, also known as the N dimension, is designed to accurately read the encoded information of Leitcode. It is allowed for users to use C# or VB.NET programming to customize the wide to narrow bar ratio in Visual Studio for .NET application. And this product supports the ratio values to be set from 2 to 3.

leitcode. WideNarrowRatio = 2.5f;

leitcode. WideNarrowRatio = 2.5f
How to Print Leitcode in Microsoft IIS with URL
  1. 1.
    Unzip the evaluation package, copy "barcode" folder to IIS and create a new virtual directory named "barcode"
  2. 2.
    Restart the IIS, and navigate to "http://localhost/barcode/barcode.aspx?code-to-encode=0123456789123&symbology=26"
  3. 3.
    After this, you can see Leitcode image, and if necessary change the barcode image properties in the url with the http parameters
  4. 4.
    Copy <img src="http://localhost/barcode/barcode.aspx?code-to-encode=0123456789123&symbology=26"/> into your web pages to insert the generated Leitcode barcodes in html or aspx pages