VB.NET Leitcode Generator Data Encoding Tutorial

sample source code to input valid data and generate linear Leitcode images in VB.NET

VB.NET Leitcode Barcode Generator Overview

VB.NET Leitcode Barcode Generator is a mature linear barcode generation component designed for VB.NET developers who are necessary of adding the Leitcode barcode printing functions into their .NET projects. It is compatible with the .NET 2.0, 3.0, 3.5, 4.0 and is able to create Leitcode barcodes in ASP.NET Web projects, .NET WinForms apps as well as .NET reporting services (SSRS) projects using the Visual Basic .NET. It is simple to encode valid digits into the Leitcode barcode symbology by Visual Basic .NET.

How to generate, print barcode using .NET, Java sdk library control with example project source code free download:

OnBarcode.com also provides more details about how to set Leitcode barcode size and image in Barcode Generator Control on VB.NET:


Leitcode Data Encoding in VB.NET

Leitcode Valid Character Set

The Leitcode barcode symbology, also known as German Postal 2 of 5 Leitcode, Deutsche Post Leitcode Barcode, is used by the Deutsche Post AG (DHL) for mail routing. It is developed from Interleaved 2 of 5 barcode and uses a different checksum digit.

A Deutsche Post Leitcode symbol is a fixed length barcode and encodes 14 digits, 13 message data plus 1 check digit. Deutsche Post Leitcode barcode encodes numbers 0 through 9:

Leitcode Valid Character Set: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9.

Deutsche Post Leitcode Checksum Digit in VB.NET

The Deutsche Post Leitcode barcode symbology uses the Mod 10 algorithm to calculate the checksum digit. The VB.NET Barcode Generator, provided by Onabrcode, automatically calculates the checksum for Deutsche Post Leitcode barcode symbology.

Dim barcode As Linear = New Linear

barcode.Type = BarcodeType.LEITCODE

barcode.Data = "1234567890123"

barcode.N = 3.0F

barcode.UOM = UnitOfMeasure.PIXEL

barcode.X = 1

barcode.Y = 80

barcode.LeftMargin = 0

barcode.RightMargin = 0

barcode.TopMargin = 0

barcode.BottomMargin = 0

barcode.Resolution = 96

barcode.Rotate = Rotate.Rotate0

Leitcode Barcode Symbol Components

After encoding the numeric string "1234567890123" into a Leitcode symbol, it looks like the following image. The last digit "6" is the Check digit.

OnBarcode is a market-leading provider of barcode imaging generator, reader controls and components for ASP.NET, Windows Forms, WPF, as well Java, Android, iOS (iPhone, iPad) across all major enterprise development platforms. We provides comprehensive tutorials and how-tos for various linear, 2d barcode information, such as C# in ASP.NET, C# .NET, C# Barcode Encoding, C# Barcode Image, VB.NET in ASP.NET, VB.NET Winforms, VB.NET Barcode Encoding. OnBarcode barcode products are supported by RasterEdge ASP.NET Document Viewer, which supports ASP.NET PDF Viewer, ASP.NET MVC Document Viewer, ASP.NET PDF Editor, MVC PDF Viewer. And provide high quality C# Convert PDF to Tiff, C# Convert PDF to Word, C# Convert PDF to HTML, C# Convert PDF to Jpeg images, and their easy and simple documents, like C# PDF SDK, C# extract text from PDF, C# Compress PDF, Print PDF in C# and C# extract image from PDF.
Terms of Use | Privacy Policy
Copyright © OnBarcode.com . All rights reserved.