KA.Barcode for .NET Suite
Guide for Customizing POSTNET Images in VB.NET
Complete VB.NET source code to generate, print POSTNET images in different image formats using Barcode for .NET Suite
VB.NET Postnet Generator Overview

Postnet Barcode Generator for VB.NET is a powerful and easy to use Postnet barcode generator component which allows you to easily create Postnet barcodes in .NET development environments like ASP.NET web forms and Windows Forms, using VB.NET.

c# windows form barcode scanner, how to print barcode in crystal report using c#, vb.net barcode freeware, how to generate barcode in asp net c#, how to generate barcode in vb.net 2010, barcode generator in c# windows application

You can effortlessly customize the generated Postnet barcode image. In fact, this page provides a detailed instruction on how to specify Postnet image, generate & create Postnet in Png, Gif, Jpeg, Tiff, Bmp and more, as well as how to adjust Postnet image rotation and modify image DPI.

print barcode in crystal report c#, barcode scanner web app c#, read barcode asp.net c#, c# barcode reader sdk, c# barcode generator source code, read data from barcode scanner in .net c# windows application

POSTNET, is also named as USPS POSTNET Barcode, USPS Postal Numeric Encoding Technique Barcode, Delivery Point Barcode (DPBC), Postnet 3 of 5. For more details about linear postal barcode POSTNET in VB.NET Generation, please refer to:

POSTNET Size Setting in Visual Basic.NET
POSTNET Data Encoding in Visual Basic.NET


Other Postnet Barcode Solution

KeepAutomation.com provides different Postnet solutions for different user.

For developers, C# Postnet, VB.NET Postnet, .NET Postnet Reader and Java Postnet generator and Java Postnet Reader are provided.

For business people, Postnet for Word and Postnet for Excel, Postnet for Crystal Reports, Postnet for Reporting Services, and Postnet for Jasper Reports are the best choice.

Other Postnet solutions, such as Postnet fonts, Postnet for Iphone, Postnet for Ipad are also provided.


How to Specify Postnet Barcode Image Using VB.NET class

There are many elements that are related to a barcode image, the most important of which are barcode orientation, barcode resolution, and barcode image formats. KeepAutomation VB.NET Postnet barcode generator provides a variety of image setting options to customize your generated barcode images.

In order to do this, you need to install KA Postnet Generator for VB.NET first. Here's how.

1. Download KeepAutomation VB.NET Generator and unzip

2. Copy KeepAutomation.Barcode.Windows.dll or KeepAutomation.Barcode.Web.dll to your VB.NET project folder.

3. Open Microsoft Visual Studio, choose "Add Reference" in "Project"

4. Browse KeepAutomation.Barcode.Windows.dll or KeepAutomation.Barcode.Web.dll

5. Now you will see "KeepAutomation.Barcode.Web" or "KeepAutomation.Barcode.Windows" under your references.

Generating Postnet Barcodes with Specified Orientation

Barcode orientation, also known as barcode rotation, is the angle of the barcode. VB.NET Postnet generator provides 4 types of orientation: 0 degree, 90 degrees, 180 degrees and 270 degrees.

Here's an example on how to adjust a Postnet image rotation in VB.NET.

Dim planet As KeepAutomation.Barcode.Bean.BarCode = New KeepAutomation.Barcode.Bean.BarCode()

postnet.Symbology = KeepAutomation.Barcode.Symbology.Postnet

postnet.CodeToEncode = " 55555"

postnet.Orientation = KeepAutomation.Barcode.Orientation.Degree180

postnet.generateBarcodeToImageFile("c://vb_image_postnet1.png")



Generating Postnet Barcodes with Specified DPI

DPI is short for Dots per Inch, which is a measure to describe the resolution number of dots per inch in a digital print and the printing resolution of a barcode image. Here's an example.

Dim planet As KeepAutomation.Barcode.Bean.BarCode = New KeepAutomation.Barcode.Bean.BarCode()

postnet.Symbology = KeepAutomation.Barcode.Symbology.Postnet

postnet.CodeToEncode = "555554444"

postnet.DPI = 72

postnet.generateBarcodeToImageFile("c://vb_image_ postnet2.png")



Generating Postnet Barcodes in Different Image Formats

Image file formats is the standardized means of organizing and storing barcode images. VB.NET Postnet generator provides rich Image formats to save barcode: GIF, TIFF, JPEG/JPG, PNG, BMP, etc. Here's a sample code.

Dim planet As KeepAutomation.Barcode.Bean.BarCode = New KeepAutomation.Barcode.Bean.BarCode()

postnet.Symbology = KeepAutomation.Barcode.Symbology.Postnet

postnet.CodeToEncode = " 555554444111"

postnet.ImageFormat = System.Drawing.Imaging.ImageFormat.Jpeg

postnet.generateBarcodeToImageFile("c://vb_image_ postnet3.jpg")



You can change "jpg" to other image formats like "png", "gif", "bmp", and "tiff".