←Select platform

PostNetPlanetBarcodeWriteOptions Class


Contains the extra options to use when writing POSTNET and PLANET barcodes.


WinRT C#
public class PostNetPlanetBarcodeWriteOptions : BarcodeWriteOptions 
Public Class PostNetPlanetBarcodeWriteOptions  
   Inherits Leadtools.Barcode.BarcodeWriteOptions 
   Implements System.ICloneable  
public sealed class PostNetPlanetBarcodeWriteOptions : System.ICloneable   
@interface LTPostNetPlanetBarcodeWriteOptions : LTBarcodeWriteOptions 
public class PostNetPlanetBarcodeWriteOptions extends BarcodeWriteOptions 
function Leadtools.Barcode.PostNetPlanetBarcodeWriteOptions() 
public ref class PostNetPlanetBarcodeWriteOptions : public Leadtools.Barcode.BarcodeWriteOptions, System.ICloneable   


The PostNetPlanetBarcodeWriteOptions class is used to control the options when writing POSTNET and PLANET barcodes using LEADTOOLS. Set the options in two ways:

The BarcodeWriter class contains default options for each barcode symbology (or group of common symbologies). These options can be retrieved using the BarcodeWriter.GetDefaultOptions method, passing one of the following:

. Then change the members of the returned PostNetPlanetBarcodeWriteOptions by casting it from BarcodeWriteOptions to PostNetPlanetBarcodeWriteOptions.

You can also create an instance of the PostNetPlanetBarcodeWriteOptions class and use it directly in the BarcodeWriter.WriteBarcode method which accepts the options as an input parameter.

The base BarcodeWriteOptions contains the following members and features:

Member Description

Controls the barcode foreground color (color of the bars or symbols) to use when writing a barcode to an image.


Controls the barcode background color (color of the spaces) to use when writing a barcode to an image.

BarcodeWriteOptions.Load and BarcodeWriteOptions.Save

Can be used to save or load the options to/from an XML file or stream.


This class overrides the base class method to return an array containing the following symbologies: BarcodeSymbology.PostNet and BarcodeSymbology.Planet

In addition to the features and members, the PostNetPlanetBarcodeWriteOptions contains these POSTNET and PLANET barcodes specific features:

Member Description

Uses the XModule when writing barcodes of this type


The size of the smallest module when writing a POSTNET and PLANET barcode


For an example, refer to PostNetPlanetBarcodeReadOptions.


Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Barcode Assembly