Table of Contents

Class PDF417EncodingOptions

Namespace
ZXing.PDF417
Assembly
zxing.dll

The class holds the available options for the PDF417Writer

public class PDF417EncodingOptions : EncodingOptions
Inheritance
PDF417EncodingOptions
Inherited Members

Constructors

PDF417EncodingOptions()

public PDF417EncodingOptions()

Properties

AspectRatio

Specifies the aspect ratio of the smallest codeword. (Width of narrowest bar / Row Height)

public PDF417AspectRatio AspectRatio { get; set; }

Property Value

PDF417AspectRatio

CharacterSet

Specifies what character encoding to use where applicable (type {@link String})

public string CharacterSet { get; set; }

Property Value

string

Compact

Specifies whether to use compact mode for PDF417 (type bool).

public bool Compact { get; set; }

Property Value

bool

Compaction

Specifies what compaction mode to use for PDF417 (type Compaction).

public Compaction Compaction { get; set; }

Property Value

Compaction

Dimensions

Specifies the minimum and maximum number of rows and columns for PDF417 (type Dimensions).

public Dimensions Dimensions { get; set; }

Property Value

Dimensions

DisableECI

Explicitly disables ECI segment when generating PDF417 Code That is against the specification but some readers have problems if the charset is switched from CP437 (default) to UTF-8 with the necessary ECI segment. If you set the property to true you can use different encodings and the ECI segment is omitted.

public bool DisableECI { get; set; }

Property Value

bool

ErrorCorrection

Specifies what degree of error correction to use

public PDF417ErrorCorrectionLevel ErrorCorrection { get; set; }

Property Value

PDF417ErrorCorrectionLevel

ImageAspectRatio

Specifies the desired output image aspect ratio (Width / Height). The actual aspect ratio is calculated based on the necessary number of codewords.

public float ImageAspectRatio { get; set; }

Property Value

float