C#. Leitcode Generator Data Encoding Tutorial
Sample source code to input valid data and generate linear Leitcode images in C# .NET
C# Leitcode Introduction
Leticode, also known as German Postal 2 of 5 Leitcode, Deutsche Post Leitcode Barcode, is a postal barcode used by the Deutsche Post AG (DHL).
C# Leitcode barcode is .NET barcode generating SDK, designed to generate and create Leitcode barcodes in Visual C#.NET development environments. It is easy to be worked with Microsoft Visual Studio and supports VS 2005, VS 2008 and VS 2010.It provides 100% managed code created in C# .NET with strong name signatures and signed DLLs. It is a mature and reliable barcode generating component for .NET widely used by other clients.
This article is providing a method to use C#.NET Barcode Generation Control to encoding Leitcode barcodes and modify Leitcode barcode length in Visual C#.NET development environments.
OnBarcode C# Barcode Generator is designed to generate, create Leitcode and other linear & 2d barcodes in Microsoft Word.
Here are some more tutorials for C# Leitcode generation concerning size & image setting.
How to generate, print barcode using .NET, Java sdk library control with example project source code free download:
Encode Leitcode Valid Character in C#.NET
Leitcode is a numeric-only linear barcodes, used by German Post for sorting and directing mails; so it is also called German Postal 2 of 5 Leitcode, CodeLeitcode, Leitcode, Deutsche Post AG (DHL). Leitcode is an implementation of Interleaved 2 of 5 barcode specification.
Leitcode valid character set:
0, 1, 2, 3, 4, 5, 6, 7, 8, 9
Here is a sample code for encoding Leitcode valid data in Visual C# class:
Linear barcode = new Linear();
barcode.Type = BarcodeType.LEITCODE;
barcode.Data = "1234567890123";
barcode.BarcodeWidth = 200;
barcode.Format = ImageFormat.Png;
barcode.drawBarcode("c:/leitcode.png");
Modify Leitcode Valid Length in C#.NET
Leitcode is a fixed-length linear barcode symblogy, with 13 digits to be encoded and plus 1 check digit.
Here is a sample code for specifying Leitcode valid length in Visual C# class:
Linear barcode = new Linear();
barcode.Type = BarcodeType.LEITCODE;
barcode.Data = "1234567890123";
barcode.BarcodeWidth = 200;
barcode.Format = ImageFormat.Png;
barcode.drawBarcode("c:/leitcode.png");