Error processing SSI file
LEADTOOLS Barcode (Leadtools.Barcode assembly)

Show in webframe

FourStateBarcodeWriteOptions Class








Members 
Contains the extra options to use when writing 4-State post barcodes such as USPS, Royal Mail ,and Australian Post.
Object Model
Syntax
[TypeConverterAttribute()]
[SerializableAttribute()]
public class FourStateBarcodeWriteOptions : BarcodeWriteOptions, System.ICloneable  
'Declaration
 
<TypeConverterAttribute()>
<SerializableAttribute()>
Public Class FourStateBarcodeWriteOptions 
   Inherits BarcodeWriteOptions
   Implements System.ICloneable 
'Usage
 
Dim instance As FourStateBarcodeWriteOptions
public sealed class FourStateBarcodeWriteOptions : System.ICloneable  
@interface LTFourStateBarcodeWriteOptions : LTBarcodeWriteOptions
public class FourStateBarcodeWriteOptions extends BarcodeWriteOptions
function Leadtools.Barcode.FourStateBarcodeWriteOptions()
[TypeConverterAttribute()]
[SerializableAttribute()]
public ref class FourStateBarcodeWriteOptions : public BarcodeWriteOptions, System.ICloneable  
Remarks

The FourStateBarcodeWriteOptions class is used to control the options when writing 4-State post 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 by passing one of the following:

.

You may then change the members of the returned FourStateBarcodeWriteOptions by casting it from BarcodeWriteOptions to FourStateBarcodeWriteOptions.

You can also create an instance of the FourStateBarcodeWriteOptions 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.USPS4State, BarcodeSymbology.AustralianPost4State and BarcodeSymbology.RoyalMail4State

In addition to the features and members, FourStateBarcodeWriteOptions contains these 4-State post barcodes specific features:

Member Description
TextPosition

The text position to use when the data string is written along with the barcode

XModule

The size of the smallest module when writing a 4-State barcode

AustralianPostCIFEncoding

Australian Post Customer Information Field (CIF) Encoding/Decoding table

Example

For an example, refer to FourStateBarcodeReadOptions.

Requirements

Target Platforms

See Also

Reference

FourStateBarcodeWriteOptions 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

Error processing SSI file
Leadtools.Barcode requires a Barcode Module license and unlock key. For more information, refer to: LEADTOOLS Toolkit Features