Pdf417Options Class
Options for the creation of PDF417 symbols by Barcode2D.CreatePdf417.
public sealed class Pdf417OptionsRemarks
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
| Name | Description |
|---|---|
| Pdf417Options() |
Pdf417Options()
Pdf417Options.cspublic Pdf417Options()No documentation is available.
Properties
| Name | Description |
|---|---|
| Columns | Gets or sets the number of data columns, from 1 to 30, or null to choose it from the data. |
| RowHeight | Gets or sets the height of each row, in modules. The default is 3, the minimum ISO/IEC 15438 recommends. |
| SecurityLevel | 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). |
Columns
Pdf417Options.csGets 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
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.
RowHeight
Pdf417Options.csGets 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
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.csGets 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
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.