KA.Barcode for .NET WinForms
How to Generate Intelligent Mail in .NET WinForms
How to insert & integrate Intelligent Mail barcodes in .NET WinForms, C#, VB.NET class library
  • Completely run in C#.NET 2.0/3.0/4.0
  • Simple to integrate dynamic Intelligent Mail barcodes into Winforms applications
  • Easy to drag & drop barcode control onto Windows Forms
  • Support Intelligent Mail creation using Visual C#, VB.NET programming
  • Provide detailed guides, requiring minimum Intelligent Mail knowledge
  • Resize Intelligent Mail barcode with flexible sizing options
  • Show human-readable text with customized font style
  • Output high-quality Intelligent Mail barcodes for all printers and scanners
Intelligent Mail Winforms Generator is one function of KA.Barcode for .NET Winforms, which provides an easy way to generate Intelligent Mail and other linear & 2D barcodes in Windows Forms, .NET class and console applications. With this product, users may specify every aspect of Intelligent Mail barcodes and print & save Intelligent Mail as gif, jpeg, png, tiff, and bitmap files or .NET graphic objects.
Intelligent Mail Barcode Overview in .NET WinForms Control
Intelligent Mail, also known as Intelligent Mail, OneCode 4CB, USPS 4CB, 4-CB, 4-State Customer Barcode, USPS OneCode Solution Barcode, USPS IM, is a height-modulated barcode using four distinct, vertical bar types. It is used in the USPS mainstream. It combines routing ZIP Code information and tracking information into a single 4-state code.

Intelligent Mail Generator for .NET WinForms Encodes

  • 0, 1, 2, 3, 4, 5, 6, 7, 8, 9
  • Valid data is 20 digits, 25 digits, 29 digits and 31 digits long
Intelligent Mail Generation in .NET WinForms Control

How to Drag & Drop Intelligent Mail DLL to Windows Forms

  1. 1.
    In Visual Studio, right-click in "Toolbox" and select "Choose Items..."
  2. 2.
    In the pop-up window, click button "Browse..." and select "KeepAutomation.Barcode.Windows.dll"
  3. 3.
    Then, you'll see "BarCodeControl" in Visual Studio toolbox
  4. 4.
    Drag and drop "BarCodeControl" into the project forms and a Code 128 barcode is generated
  5. 5.
    Now, you can change barcode types and customize image settings in the "Properties" window

How to Create Intelligent Mail in .NET WinForms Using C# or VB.NET

Using the following C# or VB.NET sample code accordingly to integrate and implement Intelligent Mail into WinForms applications.
using KeepAutomation.Barcode.Bean;

BarCode onecode = new BarCode();
onecode.Symbology = KeepAutomation.Barcode.Symbology.Intelligent Mail;
onecode.CodeToEncode = "12345678912345678912";
onecode.X = 2;
onecode.DisplayText = true;
onecode.TextFont = new Font("Arial", 10f, FontStyle.Regular);
onecode.TextMargin = 7;
Dim onecode As KeepAutomation.Barcode.Bean.BarCode = New KeepAutomation.Barcode.Bean.BarCode

onecode.Symbology = KeepAutomation.Barcode.Symbology.Intelligent Mail
onecode.CodeToEncode = "12345678912345678912"
onecode.X = 2
onecode.DisplayText = true
onecode.TextFont = new Font("Arial", 10f, FontStyle.Regular)
onecode.TextMargin = 7
onecode.ImageFormat = System.Drawing.Imaging.ImageFormat.Gif()