KA.Barcode for .NET Suite
How to Generate Intelligent Mail in VB.NET Application
How to generate linear Intelligent Mail barcode images in VB.NET class library, ASP.NET web forms, winforms

How to create, generate, make, print barcode Intelligent Mail in vb.net

  • Easy to generate Intelligent Mail barcodes in Visual Basic .NET applications
  • Simple to integrate Intelligent Mail into VB.NET class and console applications
  • Create Intelligent Mail barcodes in VB.NET Web Forms & VB.NET Windows Forms applications
  • Provide comprehensive VB.NET sample code for Intelligent Mail creation
  • Accurate, pre-configured Intelligent Mail generation according to its specification
  • Flexible sizing options provided for resizing Intelligent Mail images
  • Export high-quality Intelligent Mail images without any distortion
  • Robust Intelligent Mail barcode control used word-wide
Intelligent Mail VB.NET Generator is a mature barcode component, providing an easy but professional way to generate and draw dynamic Intelligent Mail barcodes in .NET projects using Visual Basic.NET. Multiple image formats are provided to save generated Intelligent Mail into GIF, BMP, PNG, JPEG, TIFF, etc.
Intelligent Mail Barcode Introduction
Intelligent Mail is also named as USPS Intelligent Mail Barcode, OneCode 4CB, USPS 4CB, USPS OneCode Solution Barcode, USPS IM. It is a postal barcode adopted by United State Postal Service domestic mail delivery.
Intelligent Mail Encodable Character Set:
  • 0, 1, 2, 3, 4, 5, 6, 7, 8, 9
Intelligent Mail Generation in VB.NET Programming

How to Install Intelligent Mail Barcode Encoder for .NET into your Project

  1. 1.
    Download KA.Barcode for .NET Suite Trial and unzip;
  2. 2.
    Add "KeepAutomation.Barcode.Windows.dll" or "KeepAutomation.Barcode.Web.dll" to reference;
  3. 3.
    Add Winform Barcode Control or ASP.NET Barcode Control to Visual Studio .NET ToolBox.

How to Generate Intelligent Mail in .NET Applications with VB.NET Demo Code

Dim onecode As KeepAutomation.Barcode.Bean.BarCode = New KeepAutomation.Barcode.Bean.BarCode
onecode.Symbology = KeepAutomation.Barcode.Symbology.Onecode

' Set Intelligent Mail valid data: 0-9. Length: 20, 25, 29 or 31 digits only.
onecode.CodeToEncode = "12345678901234567890"

' Onecode unit of measure: pixel, cm and inch
onecode.BarcodeUnit = KeepAutomation.Barcode.BarcodeUnit.Pixel

' Onecode image resolution in dpi
onecode.DPI = 72

' Onecode size settings properties

' Onecode module bar width (X dimention), default is 1 pixel.
onecode.X = 2

' Onecode barcode image width
onecode.BarCodeWidth = 320

' Onecode image margin size, minimum value is 2X on four sides according to specification.
onecode.LeftMargin = 4
onecode.RightMargin = 4
onecode.TopMargin = 4
onecode.BottomMargin = 4

' Onecode image orientation, 0, 90, 180, 270 degrees supported.
onecode.Orientation = KeepAutomation.Barcode.Orientation.Degree90

' Set Intelligent Mail human-readable text style
onecode.DisplayText = true
onecode.TextFont = new Font("Arial", 10f, FontStyle.Regular)
onecode.TextMargin = 7

' Print and save Onecode bar codes in Png, Gif, Jpeg/Jpg, Tiff, Bmp image formats.
onecode.ImageFormat = System.Drawing.Imaging.ImageFormat.Png