C#. Identcode Generator Image Setting Tutorial

sample source code to generate linear Identcode in png, jpeg, etc. image formats in C# .NET


 

C# Identcode Introduction

Identcode, also known as German Postal 2 of 5 Identcode, Deutsche Post Identcode Barcode, is a 14-digit bar code of the postal carrier cooperation with information about the recipient.

C# Identcode is an Identcode generator for C#.NETdevelopment, which can draw Identcode images without distortion for ASP.NET barcode generator web control, .NET Winforms barcode generator control and Reporting service barcode generation component. Identcode images can be set with image formats, image resolution, image rotation and bar alignment. For example, image rotation supports changing among 0, 90, 180, 270 degrees.

OnBarcode C# Barcode Generator is designed to generate, create Identcode and other linear & 2d barcodes in Microsoft Word. Here are some more tutorials for C# Identcode 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:


 

C#.NET Identcode Image Format Setting

C# Identcode is an easy and simple Identcode generation component, which supports 5 image formats during generating Identcode in C# programming:

Linear identcode = new Linear();

identcode.Type = BarcodeType.IDENTCODE;

identcode.Data = "98765432101";

Generating Identcode in PNG Format

You may set the PNG format to generate Identcode images in C#.NET Class & console application:

identcode.Format = ImageFormat.Png;

identcode.drawBarcode("c:\identcode.png");

Creating Identcode in JPEG Format

You may set the JEPG format to generate Identcode images in C# ASP.NET web projects:

identcode.Format = ImageFormat.Jpeg;

identcode.drawBarcode("c:\identcode.jpeg");

Drawing Identcode in Gif Format

You may set the GIF format to generate Identcode images in C#.NET Windows Forms programming:

identcode.Format = ImageFormat.Gif;

identcode.drawBarcode("c:\identcode.gif");

Creating Identcode in Tiff Format

You may set the TIFF format to generate Identcode images in SQL Server Reporting Service (SSRS) & Crystal Reports:

identcode.Format = ImageFormat.Tiff;

identcode.drawBarcode("c:\identcode.tiff");

Creating Identcode in BMP Format

You may set the BMP format to generate Identcode images in C# class.:

identcode.Format = ImageFormat.Bmp;

identcode.drawBarcode("c:\identcode.bmp");

 

C#.NET Identcode Image Rotation Setting

C# .NET Identcode image rotation setting supports rotating the generated Identcode image with 0, 90, 180, 270 degrees in C# projects:

Linear identcode = new Linear();

identcode.Type = BarcodeType.IDENTCODE;

identcode.Data = "85686036123";

identcode.Rotate = Rotate.Rotate270;

 

C#.NET Identcode Image Resolution Setting

C# .NET Identcode image resolution setting allows setting the resolution for the created image in C# programming:

Linear identcode = new Linear();

identcode.Type = BarcodeType.IDENTCODE;

identcode.Data = "78945612345";

identcode.Resolution = 160;

 

C#.NET Identcode Image Color Setting

C# .NET Identcode image color can be easily integrated with changing the text color, background color and bar color when generating Identcode in C# class:

Linear identcode = new Linear();

identcode.Type = BarcodeType.IDENTCODE;

identcode.Data = "01230123456";

identcode.BackColor = Color.Blue;

identcode.ForeColor = Color.Black;

identcode.TextColor = Color.Black;

 

C#.NET Identcode Bar Alignment Setting

Bar Alignment property are available for C#.NET Identcode image setting:

Linear identcode = new Linear();

identcode.Type = BarcodeType.IDENTCODE;

identcode.Data = "12121245454";

identcode.BarcodeWidth=260;

identcode.BarAlignment = AlignmentHori.Right;

When the set image width is larger than the minimum image width, Bar Alignment property can set the extra space on the left, center and right side.







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.