C#. MSI Plessey Generator Image Setting Tutorial
sample source code to generate linear MSI Plessey in png, jpeg, etc. image formats in C# .NET
C# MSI Plessey Introduction
MSI Plessey, known as Modified Plessey, is a fixed-length, non-self-checking symbology used in retail business.
C# MSI Plessey Generator supports adjusting the MSI Plessey image settings to generate high quality MSI Plessey images with various platforms in C# development. C# MSI Plessey image setting includes image color, image rotation, image format, image resolution and bar alignment properties. Besides, C# MSI Plessey allows other property settings, such as C# MSI Plessey size setting, C# MSI Plessey data encoding, which are just for your more professional programming.
OnBarcode C# Barcode Generator is designed to generate, create MSI Plessey and other linear & 2d barcodes in Microsoft Word.
Here are some more tutorials for C# MSI Plessey 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 MSI Plessey by Adjusting the Image Format in C#.NET
C# MSI Plessey 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 msi = new Linear();
msi.Type = BarcodeType.MSI;
msi.Data = "58863084";
Generating MSI Plessey in PNG Format
Adjusting PNG format to generate MSI Plessey images in C#.NET Class & console application:
msi.Format = ImageFormat.Png;
msi.drawBarcode("c:\MSI Plessey.png");
Creating MSI Plessey with JPEG Format
Setting JEPG format to output MSI Plessey images in C# ASP.NET web projects:
msi.Format = ImageFormat.Jpeg;
msi.drawBarcode("c:\MSI Plessey.jpeg");
Drawing MSI Plessey in Gif Format
Customizing GIF format to generate MSI Plessey images in C#.NET Windows Forms programming:
msi.Format = ImageFormat.Gif;
msi.drawBarcode("c:\MSI Plessey.gif");
Creating MSI Plessey in Tiff Format
Changing TIFF format to draw MSI Plessey images in SQL Server Reporting Service (SSRS) & Crystal Reports:
msi.Format = ImageFormat.Tiff;
msi.drawBarcode("c:\MSI Plessey.tiff");
Creating MSI Plessey in BMP Format
Setting BMP format to create MSI Plessey images in C# class.:
msi.Format = ImageFormat.Bmp;
msi.drawBarcode("c:\MSI Plessey.bmp");
Rotating MSI Plessey Image for C#.NET Programming
C# .NET MSI Plessey image rotation setting supports rotating the generated MSI Plessey image with 0, 90, 180, 270 degrees in C# projects:
Linear msi = new Linear();
msi.Type = BarcodeType.MSI;
msi.Data = "121"
msi.Rotate = Rotate.Rotate180;
C#.NET MSI Plessey Image Resolution Setting
C# .NET MSI Plessey image resolution setting allows setting the resolution for the created image in C# programming:
Linear msi = new Linear();
msi.Type = BarcodeType.MSI;
msi.Data = "321";
msi.Resolution = 130;
C#.NET MSI Plessey Image Color Setting
C# .NET MSI Plessey image color can be easily integrated with changing the text color, background color and bar color when generating MSI Plessey in C# class:
Linear msi = new Linear();
msi.Type = BarcodeType.MSI;
msi.Data = "123";
msi.BackColor = Color.Black;
msi.ForeColor = Color.White;
msi.TextColor = Color.Yellow;
C#.NET MSI Plessey Bar Alignment Setting
Besides image format, image resolution, image rotation and image color, MSI Plessey Generator for C# image setting properties can set bar alignment.
Linear msi = new Linear();
msi.Type = BarcodeType.MSI;
msi.Data = "12345";
msi.BarcodeWidth=300;
msi.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.
|