C#. PLANET Generator Data Encoding Tutorial

Sample source code to input valid data and generate linear PLANET images in C# .NET


 

C# PLANET Introduction

Planet, also known as USPS PLANET Barcode, USPS Confirm Service Barcode, is a linear barcode symbology adopted by United States Postal Service for tracking purpose when mail is processed on automated mail processing equipment.

C# PLANET barcode is one function of .NET barcode generating SDK, which support PLANET generation in all Visual C#.NET development environment, including C# ASP.NET web application, C# Windows Form software, SQL Server Reporting Service (SSRS) & Crystal Reports for C#.NET projects and C# class. C# PLANET barcode is a powerful C#.NET PLANET generation component, offering an easy way for developers to generate PLANET in C#.NET programs with a simple but complete PLANET generating guide.

This article is providing a method to use C#.NET Barcode Generation Control to encoding PLANET barcodes and modify PLANET barcode length in Visual C#.NET development environments.

OnBarcode C# Barcode Generator is designed to generate, create PLANET and other linear & 2d barcodes in Microsoft Word. Here are some more tutorials for C# PLANET generation concerning size & image setting.



Encode PLANET Valid Character in C#.NET

PLANET is a numeric-only linear barcodes, adopted by Unite States Postal Service (USPS) for tracking purpose when mail is processed on automated mail processing equipment.

PLANET valid character set:

0, 1, 2, 3, 4, 5, 6, 7, 8, 9

Here is a sample code for encoding PLANET valid data in C# class:

Linear barcode = new Linear();

barcode.Type = BarcodeType.PLANET;

barcode.Data = "1234567890123";

barcode.BarcodeWidth = 200;

barcode.Format = ImageFormat.Png;

barcode.drawBarcode("c:/planet.png");



Modify PLANET Valid Length in C#.NET

PLANET is a fixed-length linear barcode symblogy, with 11 or 13 digits to be encoded and plus 1 check digit.

Generate 11-digit PLANET Barcodes in C#.NET

Linear barcode = new Linear();

barcode.Type = BarcodeType.PLANET;

barcode.Data = "12345678901";

barcode.BarcodeWidth = 200;

barcode.Format = ImageFormat.Png;

barcode.drawBarcode("c:/planet.png");

Create13-digit PLANET Barcodes in C#.NET

Linear barcode = new Linear();

barcode.Type = BarcodeType.PLANET;

barcode.Data = "1234567890123";

barcode.BarcodeWidth = 200;

barcode.Format = ImageFormat.Png;

barcode.drawBarcode("c:/planet.png");









OnBarcode is a market-leading provider of barcode generator, reader controls and components for ASP.NET, Windows Forms, WPF, as well Java, Android, iOS (iPhone, iPad) across all major enterprise development platforms. We provides high quality tutorials and guides for various linear, 2d barcode information, such as C# Barcode, QR Code C#, QR Code VB.NET, QR Code ASP.NET, QR Code .NET, ASP.NET Barcode. OnBarcode barcode products are supported by RasterEdge ASP.NET Document Viewer, which supports ASP.NET PDF Viewer, ASP.NET MVC Document Viewer, ASP.NET PDF Editor, MVC PDF Viewer. And provide high quality C# Convert PDF to Tiff, C# Convert PDF to Word, C# Convert PDF to HTML, C# Convert PDF to Jpeg images, and their easy and simple documents, like C# PDF SDK, C# extract text from PDF, C# Compress PDF, Print PDF in C# and C# extract image from PDF.
Terms of Use | Privacy Policy
Copyright © OnBarcode.com . All rights reserved.