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");









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, Paint QR Bar Code in Java, Print QR Code in Software. 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.