C#. Intelligent Mail Generator Image Setting Tutorialg
sample source code to generate linear Intelligent Mail in png, jpeg, etc. image formats in C# .NET T
C# Intelligent Mail Introduction
Intelligent Mail, also known as IM, the 4-State Customer Barcode, is a postal barcode adopted by the United State Postal Servicr for sorting and tracking letters and flats.
C# Intelligent Mail Generator supports adjusting the Intelligent Mail image settings to generate high quality Intelligent Mail images with various platforms in C# development. C# Intelligent Mail image setting includes image color, image rotation, image format, image resolution and bar alignment properties. Besides, C# Intelligent Mail allows other property settings, such as C# Intelligent Mail size setting, C# Intelligent Mail data encoding, which are just for your more professional programming.
OnBarcode C# Barcode Generator is designed to generate, create Intelligent Mail and other linear & 2d barcodes in Microsoft Word.
Here are some more tutorials for C# Intelligent Mail 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:
Generating Intelligent Mail by Adjusting the Image Format in C#.NET
C# Intelligent Mail generator is compatible with the image format setting which can supports five types of image format. They are PNG, BMP, JPEG, GIF and TIFF. You may implement the image format property to your C# .NET projects:
Linear onecode = new Linear();
onecode.Type = BarcodeType.ONECODE;
onecode.Data = "11111111111999999999";
Generating Intelligent Mail in PNG Format
Adjusting PNG format to generate Intelligent Mail images in C#.NET Class & console application:
onecode.Format = ImageFormat.Png;
onecode.drawBarcode("c:\Intelligent Mail.png");
Creating Intelligent Mail with JPEG Format
Setting JEPG format to output Intelligent Mail images in C# ASP.NET web projects:
onecode.Format = ImageFormat.Jpeg;
onecode.drawBarcode("c:\Intelligent Mail.jpeg");
Drawing Intelligent Mail in Gif Format
Customizing GIF format to generate Intelligent Mail images in C#.NET Windows Forms programming:
onecode.Format = ImageFormat.Gif;
onecode.drawBarcode("c:\Intelligent Mail.gif");
Creating Intelligent Mail in Tiff Format
Changing TIFF format to draw Intelligent Mail images in SQL Server Reporting Service (SSRS) & Crystal Reports:
onecode.Format = ImageFormat.Tiff;
onecode.drawBarcode("c:\Intelligent Mail.tiff");
Creating Intelligent Mail in BMP Format
Setting BMP format to create Intelligent Mail images in C# class.:
onecode.Format = ImageFormat.Bmp;
onecode.drawBarcode("c:\Intelligent Mail.bmp");
Rotating Intelligent Mail Image for C#.NET Programming
C# .NET Intelligent Mail image rotation setting supports rotating the generated Intelligent Mail image with 0, 90, 180, 270 degrees in C# projects:
Linear onecode = new Linear();
onecode.Type = BarcodeType.ONECODE;
onecode.Data = "12121212121123456789"
onecode.Rotate = Rotate.Rotate180;
C#.NET Intelligent Mail Image Resolution Setting
C# .NET Intelligent Mail image resolution setting allows setting the resolution for the created image in C# programming:
Linear onecode = new Linear();
onecode.Type = BarcodeType.ONECODE;
onecode.Data = "45678978945987654321";
onecode.Resolution = 100;
C#.NET Intelligent Mail Image Color Setting
C# .NET Intelligent Mail image color can be easily integrated with changing the text color, background color and bar color when generating Intelligent Mail in C# class:
Linear onecode = new Linear();
onecode.Type = BarcodeType.ONECODE;
onecode.Data = "32165498714121212123";
onecode.BackColor = Color.Black;
onecode.ForeColor = Color.White;
onecode.TextColor = Color.Yellow;
C#.NET Intelligent Mail Bar Alignment Setting
Besides image format, image resolution, image rotation and image color, Intelligent Mail Generator for C# image setting properties can set bar alignment.
Linear onecode = new Linear();
onecode.Type = BarcodeType.ONECODE;
onecode.Data = "12345678912787878789";
onecode.BarcodeWidth=280;
onecode.BarAlignment = AlignmentHori.Left;
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.
|