Leadtools.Barcode Namespace : PostNetPlanetBarcodeWriteOptions Class |
[TypeConverterAttribute()] [SerializableAttribute()] public class PostNetPlanetBarcodeWriteOptions : BarcodeWriteOptions, System.ICloneable
'Declaration <TypeConverterAttribute()> <SerializableAttribute()> Public Class PostNetPlanetBarcodeWriteOptions Inherits BarcodeWriteOptions Implements System.ICloneable
'Usage Dim instance As PostNetPlanetBarcodeWriteOptions
public sealed class PostNetPlanetBarcodeWriteOptions : System.ICloneable
ObjectiveC Syntax
Java Syntax
function Leadtools.Barcode.PostNetPlanetBarcodeWriteOptions()
[TypeConverterAttribute()] [SerializableAttribute()] public ref class PostNetPlanetBarcodeWriteOptions : public 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 |
---|---|
BarcodeWriteOptions.ForeColor |
Controls the barcode foreground color (color of the bars or symbols) to use when writing a barcode to an image. |
BarcodeWriteOptions.BackColor |
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. |
BarcodeWriteOptions.GetSupportedSymbologies |
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 features and members, the PostNetPlanetBarcodeWriteOptions contains these POSTNET and PLANET barcodes specific features:
Member | Description |
---|---|
UseXModule |
Uses the XModule when writing barcodes of this type |
XModule |
The size of the smallest module when writing a POSTNET and PLANET barcode |
For an example, refer to PostNetPlanetBarcodeReadOptions.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
PostNetPlanetBarcodeWriteOptions Members
Leadtools.Barcode Namespace
BarcodeData Class
BarcodeWriter Class
BarcodeSymbology Enumeration
BarcodeEngine Class
BarcodeWriter.WriteBarcode
Programming with LEADTOOLS Barcode
Supported Barcode Symbologies
Unlocking Barcode Support
Writing Barcodes Tutorial
USPS and 4-State Barcodes in LEADTOOLS
Writing Barcodes - Bounds and XModule