You maybe interested: |
Barcode |
|
C#. RM4SCC Generator Image Setting Tutorial
sample source code to generate linear RM4SCC in png, jpeg, etc. image formats in C# .NET
RM4SCC, also known as Royal Mail 4-state Customer Code, U.K. Royal Mail, is height-modulated barcode symbology for use in automated mail sort process.
C# RM4SCC is barcode generation SDK for .NET programming. It is easy to draw RM4SCC images in three .NET platforms, such as ASP.NET barcode generator web control, .NET Winforms barcode generator control and Reporting service barcode generation component. Various image formats, image resolution, image rotation properties can be easily adjusted. For example, image color can be changed to red, green, blue, white, black and so on.
OnBarcode C# Barcode Generator is designed to generate, create RM4SCC and other linear & 2d barcodes in Microsoft Word.
Here are some more tutorials for C# RM4SCC 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 RM4SCC Image Format Setting in SQL Server Reporting Service (SSRS) & Crystal Reports
C# .NET RM4SCC image format setting supports 5 image formats during generating RM4SCC in C# programming:
Linear rm4scc = new Linear();
rm4scc.Type = BarcodeType.RM4SCC;
rm4scc.Data = "RM4SCC";
Generating RM4SCC in PNG Format
You may set the PNG format to generate RM4SCC images in C#.NET Class & console application:
rm4scc.Format = ImageFormat.Png;
rm4scc.drawBarcode("c:\rm4scc.png");
Creating RM4SCC in JPEG Format
You may set the JEPG format to generate RM4SCC images in C# ASP.NET web projects:
rm4scc.Format = ImageFormat.Jpeg;
rm4scc.drawBarcode("c:\rm4scc.jpeg");
Drawing RM4SCC in Gif Format
You may set the GIF format to generate RM4SCC images in C#.NET Windows Forms programming:
rm4scc.Format = ImageFormat.Gif;
rm4scc.drawBarcode("c:\rm4scc.gif");
Creating RM4SCC in Tiff Format
You may set the TIFF format to generate RM4SCC images in SQL Server Reporting Service (SSRS) & Crystal Reports:
rm4scc.Format = ImageFormat.Tiff;
rm4scc.drawBarcode("c:\rm4scc.tiff");
Creating RM4SCC in BMP Format
You may set the BMP format to generate RM4SCC images in C# class.:
rm4scc.Format = ImageFormat.Bmp;
rm4scc.drawBarcode("c:\rm4scc.bmp");
C#.NET RM4SCC Image Rotation Setting in C# ASP.NET web projects
C# .NET RM4SCC image rotation setting supports rotating the generated RM4SCC image with 0, 90, 180, 270 degrees in C# projects:
Linear rm4scc = new Linear();
rm4scc.Type = BarcodeType.RM4SCC;
rm4scc.Data = "IMAGESETTING";
barcode.Rotate = Rotate.Rotate180;
C#.NET RM4SCC Image Resolution Setting in C#.NET Winforms programming
C# .NET RM4SCC image resolution setting allows setting the resolution for the created image in C# programming:
Linear rm4scc = new Linear();
rm4scc.Type = BarcodeType.RM4SCC;
rm4scc.Data = "IMAGE";
barcode.Resolution = 96;
RM4SCC Image Color Setting in C#.NET Class & console application
C# .NET RM4SCC image color can be easily integrated with changing the text color, background color and bar color when generating RM4SCC in C# class:
Linear rm4scc = new Linear();
rm4scc.Type = BarcodeType.RM4SCC;
rm4scc.Data = "ONBARCODE";
barcode.BackColor = Color.Red;
barcode.ForeColor = Color.Blue;
barcode.TextColor = Color.Yellow;
C#.NET RM4SCC Bar Alignment Setting
Besides image format, image resolution, image rotation and image color, RM4SCC Generator for C# image setting properties can set bar alignment.
Linear rm4scc = new Linear();
rm4scc.Type = BarcodeType.RM4SCC;
rm4scc.Data = "RM4SCC";
rm4scc.BarcodeWidth=180;
rm4scc.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.
|