
## Pdf417Parameters class

PDF417 parameters. Contains PDF417, MacroPDF417, MicroPDF417 and GS1MicroPdf417 parameters.<br/>            MacroPDF417 requires two fields: Pdf417MacroFileID and Pdf417MacroSegmentID. All other fields are optional.<br/>            MicroPDF417 in Structured Append mode (same as MacroPDF417 mode) requires two fields: Pdf417MacroFileID and Pdf417MacroSegmentID. All other fields are optional.

The Pdf417Parameters type exposes the following members:
## Properties
| Name | Description |
| :- | :- |
|encode_mode|Identifies Pdf417 encode mode. <br/>            Default value: Auto.|
|error_level|Gets or sets Pdf417 symbology type of BarCode's error correction level<br/>            ranging from level0 to level8, level0 means no error correction info,<br/>            level8 means best error correction which means a larger picture.|
|truncate|Whether Pdf417 symbology type of BarCode is truncated (to reduce space). <br/>            Also known as CompactPDF417. Rigth row indicator and right stop pattern are removed in this mode.|
|columns|Columns count.|
|rows|Rows count.|
|aspect_ratio|Height/Width ratio of 2D BarCode module.|
|macro_pdf_417_file_id|MacroPdf417 barcode's file ID (Required field).<br/>            MicroPDF417 barcode's file ID (Required field for Structured Append mode)|
|macro_pdf_417_segment_id|MacroPdf417 barcode's segment ID (Required field), which starts from 0, to MacroSegmentsCount - 1.<br/>            MicroPDF417 barcode's segment ID (Required field for Structured Append mode)|
|macro_pdf_417_segments_count|MacroPdf417 barcode segments count (optional field).<br/>            MicroPDF417 barcode segments count (optional field for Structured Append mode)|
|macro_pdf_417_file_name|MacroPdf417 barcode file name (optional field).<br/>            MicroPDF417 barcode file name (optional field for Structured Append mode)|
|macro_pdf_417_time_stamp|MacroPdf417 barcode time stamp (optional field).<br/>            MicroPDF417 barcode time stamp (optional field for Structured Append mode)|
|macro_pdf_417_sender|MacroPdf417 barcode sender name (optional field).<br/>            MicroPDF417 barcode sender name (optional field for Structured Append mode)|
|macro_pdf_417_addressee|MacroPdf417 barcode addressee name (optional field).<br/>            MicroPDF417 barcode addressee name (optional field for Structured Append mode)|
|macro_pdf_417_file_size|MacroPdf417 file size (optional field).<br/>            MicroPDF417 file size (optional field for Structured Append mode)<br/>            The file size field contains the size in bytes of the entire source file.|
|macro_pdf_417_checksum|MacroPdf417 barcode checksum (optional field).<br/>            MicroPDF417 barcode checksum (optional field for Structured Append mode)<br/>            The checksum field contains the value of the 16-bit (2 bytes) CRC checksum using the CCITT-16 polynomial. x^16 + x^12 + x^5 + 1|
|eci_encoding|Extended Channel Interpretation Identifiers. It is used to tell the barcode reader details<br/>            about the used references for encoding the data in the symbol. Not applied for Macro PDF417 text fields.<br/>            Current implementation consists all well known charset encodings.|
|macro_pdf_417eci_encoding|Extended Channel Interpretation Identifiers. Applies for Macro PDF417 text fields.|
|macro_pdf_417_terminator|Used to tell the encoder whether to add Macro PDF417 Terminator (codeword 922) to the segment. <br/>            Applied only for Macro PDF417.|
|is_reader_initialization|Used to instruct the reader to interpret the data contained within the symbol<br/>            as programming for reader initialization.|
|macro_characters|Macro Characters 05 and 06 values are used to obtain more compact encoding in special modes.<br/>            Can be used only with MicroPdf417 and encodes 916 and 917 MicroPdf417 modes<br/>            Default value: MacroCharacters.None.|
|is_linked|Defines linked modes with GS1MicroPdf417, MicroPdf417 and Pdf417 barcodes<br/>            With GS1MicroPdf417 symbology encodes 906, 907, 912, 913, 914, 915 “Linked” UCC/EAN-128 modes<br/>            With MicroPdf417 and Pdf417 symbologies encodes 918 linkage flag to associated linear component other than an EAN.UCC|
|is_code_128_emulation|Can be used only with MicroPdf417 and encodes Code 128 emulation modes<br/>            Can encode FNC1 in second position modes 908 and 909, also can encode 910 and 911 which just indicate that recognized MicroPdf417 can be interpret as Code 128|

### See Also

* namespace [aspose.barcode.generation](/barcode/python-net/aspose.barcode.generation/)
* assembly [Aspose.BarCode](/barcode/python-net/)

