KA.Barcode for .NET Suite
How to Generate Planet in VB.NET
How to Generate Planet barcode images in VB.NET, ASP.NET web applications, and windows forms
  • Planet generation in Visual Basic .NET applications
  • Easy-to-use & integrate Planet Barcode Generation into VB.NET projects
  • Generate Planet and other linear barcodes & 2D barcodes in C# class, such as postnet in VB.NET, Identcode in VB.NET, Code 11 in VB.NET, InteRM4SCCin VB.NET
  • Draw Planet using VB.NET in ASP.NET Web Forms
  • Create Planet with VB.NET in .NET Windows Forms applications
  • Generate Planet in stream object, in graphics object, and image formats using Visual Basic .NET
  • Print and save Planet as gif, jpeg, png, tiff, and bitmap files in VB.NET class
PlANET, is also named as USPS PLANET Barcode, USPS Confirms Service Barcode. VB.NET Planet Barcode Generator is a Planet Barcode Generation functions of KeepAutomation .NET Barcode Generator, which enables developers to easily generate Planet in VB.NET class, VB.NET Windows Forms and VB.NET ASP.NET web applications.

Planet Barcode for VB.NET is simple to be installed into your VB.NET projects. And the Planet barcodes may be encoded into multiple image formats, including GIF, BMP, PNG, JPEG, TIFF. Customers can get more information about PLANET Barcode Creation in KA.Barcode Generator for VB.NET from:

Planet Barcode Solutions

Besides VB.NET Planet Generator, KeepAutomation provides other advanced Planet barcode solutions, including

C#.NET Planet Generator - generating Planet in C#.NET

Java Planet Generator - generating Planet in java

Android Planet Generator - creating Planet barcode in Android


How to Install Planet Generator to VB.NET Project
  • Download .NET Barcode free evaluation package and unzip it
  • Copy "KeepAutomation.Barcode.Windows.dll" or "KeepAutomation.Barcode.Web.dll" to the VB.NET project folder of your created application.
  • Add the DLL(s) to your VB.NET project reference:

    Method 1:

      1. In toolbar, click "Project" and then choose "Add Reference".

      2. Select "Browse" and choose the DLL(s). Click "OK".

    Method 2:

      1. In Solution Explorer, right-click your project. Then select "Add Reference".

      2. Select "Browse" and choose the DLL(s). Click "OK".

How to Generate Planet in VB.NET Class
  • How to Generate Planet in VB.NET class

  •         Dim planet As KeepAutomation.Barcode.Bean.BarCode = New KeepAutomation.Barcode.Bean.BarCode
            planet.Symbology = KeepAutomation.Barcode.Symbology.Planet
            planet.CodeToEncode = "12154784125"  
             
            //Set Planet image size
            planet.BarcodeUnit = BarcodeUnit.Pixel     // Unit of measure, Pixel, Cm and Inch supported. 
            planet.DPI = 72                            // Planet image resolution in DPI.
            planet.X = 2                               // Planet bar module width (X dimention)
            planet.Y = 60                              // Planet bar module height (Y dimention)
            Planet.ShortTallRatio = 0.4f;              // Planet short bar height vs tall bar height
            planet.LeftMargin = 0		           // Image left margin size, minimum is 10X.
            planet.RightMargin = 0	                   // Image right margin size, minimum is 10X.
            planet.Orientation = Orientation.Degree0   // Orientation, 90, 180, 270 degrees supported
            
            //Set Planet human readable text style
            planet.DisplayText = true                  // Display human readable text
            planet.TextFont = new Font ("Arial", 10f, FontStyle. Regular);
            planet.TextMargin = 6                      // Space between barcode and text
            planet.generateBarcodeToImageFile("C://planet-vb-net.gif")
    
    
    
  • How to Draw and encode Planet in image formats

    In addition to image GIF format, you can encode Planet into other image formats, like png, bmp, jpg, and tiff.

    1. Encode Planet into PNG image format

      Dim planet As KeepAutomation.Barcode.Bean.BarCode = New KeepAutomation.Barcode.Bean.BarCode
      planet.Symbology = KeepAutomation.Barcode.Symbology.Planet
      planet.CodeToEncode = "1254784512369"
      planet.generateBarcodeToImageFile("C://planet-vb-net.png")
      
      						
    2. Encode Planet into BMP image format

      Dim planet As KeepAutomation.Barcode.Bean.BarCode = New KeepAutomation.Barcode.Bean.BarCode
      planet.Symbology = KeepAutomation.Barcode.Symbology.Planet
      planet.CodeToEncode = "85414587451"
      planet.generateBarcodeToImageFile("C:// planet-vb-net.bmp")