- Home
- Products
- Integration
- Tutorial
- Barcode FAQ
- Purchase
- Company
C#. Intelligent Mail Generator Size Setting Tutorialsample source code to generate linear Intelligent Mail images and adjust barcode size in C# .NET
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. Intelligent Mail Structure
W: the barcode width of Intelligent Mail. Please see BarCodeWidth.Intelligent Mail Image Height Related Settings H: the barcode height of Intelligent Mail. Please see BarCodeHeight. Setting Intelligent Mail Barcode Size in C#
C# Intelligent Mail barcode provides a set of barcode size settings to specify you Intelligent Mail barcodes. Please download C# barcode component and install, copy those following code to your Visual Studio: Linear barcode = new Linear();Modify your Intelligent Mail barcodes by setting those following properties: UOM
UOM is short for Unit of Measure, which is the unit of measure for all size related settings in the library. C# Intelligent Mail barcode provides 3 options: Pixel, Cm, and Inch. The default is Pixel. barcode.UOM = UnitOfMeasure.PIXEL; Barcode Width & Height
BarcodeWidth is the Intelligent Mail barcode image width. The default in C# Intelligent Mail barcode is 0 (float). barcode.BarcodeWidth = 0;Notice: if your setting is smaller than the barcode required minimum width and height, the library will automatically reset to barcode minimum width. Or you may enable AutoResize to automatically resize your Intelligent Mail barcode image. Barcode Margin
BarcodeMargin is the white zone around the Intelligent Mail symbol. C# Intelligent Mail barcode provides 4 options: Left Margin, Right Margin, Top Margin and Bottom Margin. The default of these four margins are 0 (float). barcode.TopMargin = 3; X
X is the width of barcode bar module (narrow bar). The default in C# Intelligent Mail barcode is 1 (float). Text Margin & Font
TextMargin is the space between barcode and barcode data text. The default in C# Intelligent Mail barcode is 6 (float). barcode.TextMargin = 9; |