←Select platform

MaxiBarcodeWriteOptions Class

Summary

Contains the extra options to use when writing MaxiCode barcodes.

Syntax

C#
VB
Java
Objective-C
WinRT C#
C++
[SerializableAttribute()] 
public class MaxiBarcodeWriteOptions : BarcodeWriteOptions 
<TypeConverterAttribute()> 
<SerializableAttribute()> 
Public Class MaxiBarcodeWriteOptions  
   Inherits Leadtools.Barcode.BarcodeWriteOptions 
   Implements System.ICloneable  
public sealed class MaxiBarcodeWriteOptions : System.ICloneable   
@interface LTMaxiBarcodeWriteOptions : LTBarcodeWriteOptions 
public class MaxiBarcodeWriteOptions extends BarcodeWriteOptions 
function Leadtools.Barcode.MaxiBarcodeWriteOptions() 
[TypeConverterAttribute()] 
[SerializableAttribute()] 
public ref class MaxiBarcodeWriteOptions : public Leadtools.Barcode.BarcodeWriteOptions, System.ICloneable   

Remarks

The MaxiBarcodeWriteOptions class is used to control the options when writing MaxiCode 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 BarcodeSymbology.Maxi. You can then change the members of the returned MaxiBarcodeWriteOptions by casting it from BarcodeWriteOptions to MaxiBarcodeWriteOptions.

You can also create an instance of MaxiBarcodeWriteOptions 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.Maxi

BarcodeOptions.FriendlyName

Gets the friendly name of this class.

In addition to the features and members, the MaxiBarcodeWriteOptions contains these MaxiCode barcodes specific features:

Member Description
CountryCode

The country code that will be encoded when writing Maxi Code symbols using mode 2 or mode 3.

OpenSystemStandard

Write Maxi Code symbols using mode 2 or mode 3 with open system standard message.

PostalCodeChar

The alphanumeric postal code that will be encoded when writing Maxi Code symbols using mode 3.

PostalCodeNum

The numeric postal code that will be encoded when writing Maxi Code symbols using mode 2.

Resolution

The resolution of output symbol when writing Maxi Code symbols.

ServiceClass

The service class that will be encoded when writing Maxi Code symbols using mode 2 or mode 3.

SymbolModel

The encoding mode to use when writing Maxi Code.

Year

The year that will be encoded when writing Maxi Code symbols as open system standard.

Example

For an example, refer to MaxiBarcodeData.

Requirements

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