←Select platform

MicroPDF417BarcodeWriteOptions Class

Summary

Contains the extra options to use when writing MicroPDF417 barcodes.

Syntax
C#
VB
Objective-C
C++
Java
[SerializableAttribute()] 
public class MicroPDF417BarcodeWriteOptions : BarcodeWriteOptions 
<TypeConverterAttribute()> 
<SerializableAttribute()> 
Public Class MicroPDF417BarcodeWriteOptions  
   Inherits BarcodeWriteOptions 
   Implements System.ICloneable  
@interface LTMicroPDF417BarcodeWriteOptions : LTBarcodeWriteOptions 
public class MicroPDF417BarcodeWriteOptions extends BarcodeWriteOptions 
[TypeConverterAttribute()] 
[SerializableAttribute()] 
public ref class MicroPDF417BarcodeWriteOptions : public BarcodeWriteOptions, System.ICloneable   

Remarks

The MicroPDF417BarcodeWriteOptions class is used to control the options when writing MicroPDF417 barcodes using LEADTOOLS. You can 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.MicroPDF417. Then change the members of the returned MicroPDF417BarcodeWriteOptions by casting it from BarcodeWriteOptions to MicroPDF417BarcodeWriteOptions.

You can also create an instance of the MicroPDF417BarcodeWriteOptions 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.MicroPDF417

In addition to these features and members, MicroPDF417BarcodeWriteOptions contains these MicroPDF417 barcode specific features:

Member Description
HorizontalAlignment

Horizontal alignment for the barcode inside the destination bounds.

VerticalAlignment

Vertical alignment for the barcode inside the destination bounds.

UseMode128Emulation

Use the Function Code word for Code 128 emulation when writing MicroPDF417 barcodes.

IsLinked

Link this MicroPDF417 to a linear symbol that is printed below it when writing MicroPDF417 barcodes.

EnableGroupMode

Enable group mode when writing MicroPDF417 barcodes.

XModule

The size of the smallest module when writing a MicroPDF417 barcode.

XModuleAspectRatio

The ratio of the width of the smallest element (XModule) to the height of a row of the MicroPDF417 symbol.

LimitByRowsAndColumns

Use the symbol size as limits when writing MicroPDF417 barcodes.

SymbolSize

The symbol size to use when writing MicroPDF417 barcodes.

Example

For an example, refer to MicroPDF417BarcodeData.

Requirements

Target Platforms

Help Version 20.0.2020.4.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Barcode Assembly