KA.Barcode for .NET Suite
Guide for Encoding Numeric-only Data in Leitcode
Complete VB.NET source code to generate, print Leitcode images using Barcode Generator for .NET Suite
Leitcode Data Encoding in VB.NET - Character Set and Data Length

Using our Leitcode Generator for VB.NET, you may create and encode your required data in Leitcode easily. And KeepAutomation provides customers with the details of Leitcode valid data characters, data length, and example of encoding valid data in Leitcode barcode.

Leitcode, is also named as Deutsche Post Leitcode Barcode, German Postal 2 of 5 Leitcode, CodeLeitcode, Leitcode, Deutsche Post AG(DHL). In addition to Leitcode data encoding infomation, its size and image settings are offered by KeepAutomation as well.

Valid Characters of Leitcode in VB.NET Generator

A standard Leitcode barcode is capable of encoding numeric data.

Data Length of Leitcode in VB.NET Generator

Leitcode is a fixed-length barcode symbology. In a Leitcode barcode, there are 14 digits of data in all which includes the checksum digit. Easily, users are supposed to input 13 digits in that the check digit is created by Leitcode Barcode Library in VB.NET, based on the input data.

Leitcode Data Encoding in Other Related Generators - C#.NET, Excel and Word

Leitcode Data Encoding for Visual C#.NET

Leitcode Data Encoding for Microsoft Excel 2003, 2007, 2010

Leitcode Data Encoding for Microsoft Word 2003, 2007, 2010

VB.NET Leitcode Data Encoding - How to Encode Data in Leitcode

Preparations:

1. Download KeepAutomation Leitcode Generator for Visual Basic .NET and unzip it.

2. Install VB.NET Leitcode Generator to your VB.NET project in Visual Studio. More details from VB.NET Barcode Generation Guide.

3. Copy the following code to your Visual Basic .NET project and generate the Leitcode with your target data.

How to encode numeric data in Leitcode with VB.NET Generator

Example 1

Dim barcode As KeepAutomation.Barcode.Bean.BarCode

barcode = New KeepAutomation.Barcode.Bean.BarCode()

barcode.Symbology = KeepAutomation.Barcode.Symbology.Leitcode

barcode.CodeToEncode = "6666600000333"

barcode.generateBarcodeToImageFile("C://leitcode-1-vb-net.png")



Example 2

Dim barcode As KeepAutomation.Barcode.Bean.BarCode

barcode = New KeepAutomation.Barcode.Bean.BarCode()

barcode.Symbology = KeepAutomation.Barcode.Symbology.Leitcode

barcode.CodeToEncode = "9876543219876"

barcode.generateBarcodeToImageFile("C://leitcode-2-vb-net.png")