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

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

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

PlANET, is also named as USPS PLANET Barcode, USPS Confirms Service Barcode. For more details about adding PLANET the linear postal barcode in .NET projects using VB.NET, please refer to:

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


Other Planet Barcode Solution

KeepAutomation.com provides different Planet solutions for different user.

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

For business people, Planet for Word and Planet for Excel, Planet for Crystal Reports, Planet for Reporting Services, and Planet for Jasper Reports are the best choice. Other Planet solutions, such as Planet fonts, Planet for Iphone, Planet for Ipad are also provided.


How to Specify Planet 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 Planet 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 Planet 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 Planet Barcodes with Specified Orientation

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

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

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

planet.Symbology = KeepAutomation.Barcode.Symbology.Planet

planet.CodeToEncode = " 11223344551"

planet.Orientation = KeepAutomation.Barcode.Orientation.Degree180

planet.generateBarcodeToImageFile("c://vb_image_planet1.png")



Generating Planet 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()

planet.Symbology = KeepAutomation.Barcode.Symbology.Planet

planet.CodeToEncode = "22334455661"

planet.DPI = 72

planet.generateBarcodeToImageFile("c://vb_image_planet2.png")



Generating Planet Barcodes in Different Image Formats

Image file formats is the standardized means of organizing and storing barcode images. VB.NET Planet 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()

planet.Symbology = KeepAutomation.Barcode.Symbology.Planet

planet.CodeToEncode = "33445566771"

planet.ImageFormat = System.Drawing.Imaging.ImageFormat.Png

planet.generateBarcodeToImageFile("c://vb_image_planet3.png")



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