You maybe interested: |
Barcode |
|
C#. Leitcode Generator Image Setting Tutorial
sample source code to generate linear Leitcode in png, jpeg, etc. image formats in C# .NET
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 is a Leitcode generation dill for .NET application which can easily create Leitcode image without distortion. C# Leitcode image setting properties (image formats, image resolution, image rotation, image color and bar alignment) are easy to implemented with Leitcode generation component for C# .NET projects. C# Leitcode supports ASP .NET and WinForms .NET applications, Reporting Service 2005 & 2008 projects.
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 data encoding and size setting.
How to generate, print barcode using .NET, Java sdk library control with example project source code free download:
How to set Leitcode Image Format for C#.NET application
5 image formats (BMP, PNG, JPEG, GIF, TIFF) are valid for setting C# .NET Leitcode generated image format:
Linear Leitcode = new Linear();
Leitcode.Type = BarcodeType.Leitcode;
Leitcode.Data = "973456123456";
Generating Leitcode in PNG Format
Creating PNG format Leitcode images in C#.NET Class application:
Leitcode.Format = ImageFormat.Png;
Leitcode.drawBarcode("c:\Leitcode.png");
Creating Leitcode in JPEG Format
Generating JEPG format Leitcode images in C#.NET web projects:
Leitcode.Format = ImageFormat.Jpeg;
Leitcode.drawBarcode("c:\Leitcode.jpeg");
Drawing Leitcode in Gif Format
Printing GIF format Leitcode images in C#.NET programming:
Leitcode.Format = ImageFormat.Gif;
Leitcode.drawBarcode("c:\Leitcode.gif");
Creating Leitcode in Tiff Format
Generating TIFF format Leitcode images in SQL Server Reporting Service (SSRS) & Crystal Reports:
Leitcode.Format = ImageFormat.Tiff;
Leitcode.drawBarcode("c:\Leitcode.tiff");
Creating Leitcode in BMP Format
Drawing BMP format Leitcode images in C# .NET programming process:
Leitcode.Format = ImageFormat.Bmp;
Leitcode.drawBarcode("c:\Leitcode.bmp");
How to Set Leitcode Image Rotation for C# .NET
Rotating the generated Leitcode image with 0, 90, 180, 270 degrees in C# projects:
Linear Leitcode = new Linear();
Leitcode.Type = BarcodeType.Leitcode;
Leitcode.Data = "12345679089";
Leitcode.Rotate = Rotate.Rotate270;
How to Adjust Leitcode Image Resolution
Setting the resolution for the created Leitcode image in C# programming:
Linear Leitcode = new Linear();
Leitcode.Type = BarcodeType.Leitcode;
Leitcode.Data = "97989454545";
Leitcode.Resolution = 150;
How to change Leitcode Image Color for C#.NET
C# .NET Leitcode image color can be easily integrated with changing the text color, background color and bar color when generating Leitcode in C# class:
Linear Leitcode = new Linear();
Leitcode.Type = BarcodeType.Leitcode;
Leitcode.Data = "734554321457";
Leitcode.BackColor = Color.Balck;
Leitcode.ForeColor = Color.Green;
Leitcode.TextColor = Color.White;
Leitcode Bar Alignment Setting for C# ASP.NET web projects
Bar Alignment property are available for C#.NET Leitcode image setting:
Linear Leitcode = new Linear();
Leitcode.Type = BarcodeType.Leitcode;
Leitcode.Data = "121212121212";
Leitcode.BarcodeWidth=260;
Leitcode.BarAlignment = AlignmentHori.Right;
When the set image width is larger than the minimum image width, Bar Alignment property can be set to put the extra space on the left, center and right side.
|