barcode generation sdk for .NET  >  barcode vb.net maker  >  encode usps postal barcode with vb.net


VB.NET POSTNET Barcode Generator

integrate usps postnet barcode printing with vb.net into .NET project templates


Overview

POSTNET VB.NET Barcode generator, provided by KeepDynamic.com, is a POSTNET creator. It aims to help you easily and simply create POSTNET in your .NET projects.

Related barcode solutions for creating Postnet barcode



Features

POSTNET VB.NET Barcode Generator Technologies

Our POSTNET Barcode Generator for VB.NET is completely developed in .NET 2.0, and is compatible with the .NET 2.0 and greater development environments. You can easily integrate POSTNET barcodes into your VB.NET apps. POSTNET is also able to be immediately generated in your VB.NET Classes and console apps. In VB.NET, ASP.NET web projects, and VB.NET Windows Forms software, barcode images can be easily created. This VB.NET Barcode Generator also supports the generation of POSTNET barcodes in Reporting Service & Crystal Reports.

POSTNET barcode images generated by Barcode Generator for VB.NET

This POSTNET VB.NET Barcode Generator supports the image formats such as JPEG, GIF, TIFF, BMP, and PNG. Properties of POSTNET, such as the barcode size, are able to be configured according to users' requirements and the image orientation support 0, 90, 180, or 270 degrees. With the thermal printer support, high quality POSTNET barcode images are able to be printed on high resolution printers as well as on low resolution printers. White bar increase option increases the blank space between the bars for improving the readability.

Customization of POSTNET Barcodes

POSTNET VB.NET Barcode generator provides diversified options for easily customizing the POSTNET barcodes. Text Options enables or disables the human-readable text in the POSTNET VB. NET barcode generator. Graphic Configuration Options configure the colors of the foreground and background. Tilde Functions allow the functions, such as returns, tabs and other ones, to be encoded easily. Bearer bar for POSTNET barcode are easy to be generated

POSTNET barcode Source code and Developer License

POSTNET VB.NET source code is supplied with the purchase of unlimited developer licenses. Royalty will be free with the purchase of a Developer License.

Create Postnet in VB.NET

Imports KeepDynamic.Barcode.Generator
Imports System.Drawing.Imaging


Dim barcode As KeepDynamic.Barcode.Generator.BarCode
barcode = New KeepDynamic.Barcode.Generator.BarCode()

'Change the symbology type to Postnet barcode
barcode.SymbologyType = SymbologyType.Postnet

'Assign the value that are encoded into Postnet symbology.
'Encodable character set of Postnet is as follow,
' Numeric characters: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9
'Valid data length of Postnet symbology are 5, 6, 9, or 11 digits, excluding the check digit

barcode.CodeText = "123456789"

'Enable the checksum for the Postnet symbology
'so that the barcode engine calculates the check digit automatically

barcode.EnableChecksum = True

'Set the Postnet barcode graphic measurements as Pixel
barcode.GraphicsUnit = KeepDynamic.Barcode.Generator.GraphicsUnit.Pixel

'Assign the values of bar width and bar height to Postnet barcode
barcode.X = 2
barcode.Y = 75

'Set the margins around the Postnet barcode symbology
barcode.LeftMargin = 0
barcode.RightMargin = 0
barcode.TopMargin = 0
barcode.BottomMargin = 0

'Set the resolution of Postnet barcode image that is drawn to,
'Change the Postnet barcode image orientation

barcode.Resolution = 72
barcode.Rotate = Rotate.Rotate0

'Display the characters encoded into the barcode symbology
'Set the font style of characters encoded into the barcode

barcode.DisplayCodeText = True
barcode.CodeTextFont = New Font("Arial", 11f, FontStyle.Regular)

'Set barcode drawing image format to PNG in VB.NET
'Generate Postnet barcode image in VB.NET

barcode.Format = ImageFormat.Png
barcode.drawBarcode("C://barcode-postnet-vbnet.png")