Pdf417Options Class

Options for the creation of PDF417 symbols by Barcode2D.CreatePdf417.

public sealed class Pdf417Options

Remarks

A PDF417 symbol has 3 to 90 rows of 1 to 30 data columns, between a start pattern, a left row indicator, a right row indicator and a stop pattern. Each column is 17 modules wide, so a symbol is 69 + 17 × columns modules wide.

Constructors

NameDescription
Pdf417Options()

Pdf417Options()

Pdf417Options.cs
public Pdf417Options()

No documentation is available.

Properties

NameDescription
ColumnsGets or sets the number of data columns, from 1 to 30, or null to choose it from the data.
RowHeightGets or sets the height of each row, in modules. The default is 3, the minimum ISO/IEC 15438 recommends.
SecurityLevelGets or sets the error correction level (also called the security level), from 0 (2 error correction codewords) to 8 (512 codewords), or null for the minimum level ISO/IEC 15438 recommends for the data length (2 to 5).

Gets or sets the number of data columns, from 1 to 30, or null to choose it from the data.

public int? Columns { get; set; }

Property value

int?

Exceptions

ArgumentOutOfRangeException
The value is less than 1 or greater than 30.

Remarks

The number of rows is the smallest that holds the data with this number of columns.

Gets or sets the height of each row, in modules. The default is 3, the minimum ISO/IEC 15438 recommends.

public int RowHeight { get; set; }

Property value

int

Exceptions

ArgumentOutOfRangeException
The value is less than 1 or greater than 20.

Remarks

Each row of the symbol is this number of rows in Barcode2D, whose modules are square.

SecurityLevel

Pdf417Options.cs

Gets or sets the error correction level (also called the security level), from 0 (2 error correction codewords) to 8 (512 codewords), or null for the minimum level ISO/IEC 15438 recommends for the data length (2 to 5).

public int? SecurityLevel { get; set; }

Property value

int?

Exceptions

ArgumentOutOfRangeException
The value is less than 0 or greater than 8.

Remarks

A symbol holds at most 928 codewords, error correction included. When the level is null and the data does not fit with the recommended level, the highest level that fits is used, down to 2.