Pdf417Parameters
Pdf417Parameters class
Namespace: Aspose.Barcode.Generation
PDF417 parameters. Contains PDF417, MacroPDF417, MicroPDF417 and GS1MicroPdf417 parameters. MacroPDF417 requires two fields: Pdf417MacroFileID and Pdf417MacroSegmentID. All other fields are optional. MicroPDF417 in Structured Append mode (same as MacroPDF417 mode) requires two fields: Pdf417MacroFileID and Pdf417MacroSegmentID. All other fields are optional.
Constructors
| Name | Description |
|---|---|
| __construct |
Methods
| Name | Static | Description |
|---|---|---|
| isCode128Emulation | No | Can be used only with MicroPdf417 and encodes Code 128 emulation modes 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 |
| isLinked | No | Defines linked modes with GS1MicroPdf417, MicroPdf417 and Pdf417 barcodes With GS1MicroPdf417 symbology encodes 906, 907, 912, 913, 914, 915 “Linked” UCC/EAN-128 modes With MicroPdf417 and Pdf417 symbologies encodes 918 linkage flag to associated linear component other than an EAN.UCC |
| isReaderInitialization | No | Used to instruct the reader to interpret the data contained within the symbol as programming for reader initialization |
| setCode128Emulation | No | Can be used only with MicroPdf417 and encodes Code 128 emulation modes 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 |
| setLinked | No | Defines linked modes with GS1MicroPdf417, MicroPdf417 and Pdf417 barcodes With GS1MicroPdf417 symbology encodes 906, 907, 912, 913, 914, 915 “Linked” UCC/EAN-128 modes With MicroPdf417 and Pdf417 symbologies encodes 918 linkage flag to associated linear component other than an EAN.UCC |
| setReaderInitialization | No | Used to instruct the reader to interpret the data contained within the symbol as programming for reader initialization |
Properties
| Name | Read/Write | Description |
|---|---|---|
| AspectRatio | Read/Write | Height/Width ratio of 2D BarCode module. |
| Columns | Read/Write | Columns count. |
| ECIEncoding | Read/Write | Extended Channel Interpretation Identifiers. It is used to tell the barcode reader details about the used references for encoding the data in the symbol. Not applied for Macro PDF417 text fields. Current implementation consists all well known charset encodings. |
| EncodeMode | Read/Write | Identifies Pdf417 encode mode. Default value: Auto. |
| ErrorLevel | Read/Write | Gets Pdf417 symbology type of BarCode’s error correction level ranging from level0 to level8, level0 means no error correction info, level8 means best error correction which means a larger picture. |
| MacroCharacters | Read/Write | Macro Characters 05 and 06 values are used to obtain more compact encoding in special modes. Can be used only with MicroPdf417 and encodes 916 and 917 MicroPdf417 modes Default value: MacroCharacters.None. |
| MacroPdf417Addressee | Read/Write | MacroPdf417 barcode addressee name (optional field). MicroPDF417 barcode addressee name (optional field for Structured Append mode) |
| MacroPdf417Checksum | Read/Write | MacroPdf417 barcode checksum (optional field). MicroPDF417 barcode checksum (optional field for Structured Append mode) 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 |
| MacroPdf417ECIEncoding | Read/Write | Extended Channel Interpretation Identifiers. Applies for Macro PDF417 text fields. |
| MacroPdf417FileID | Read/Write | MacroPdf417 barcode’s file ID (Required field). MicroPDF417 barcode’s file ID (Required field for Structured Append mode) |
| MacroPdf417FileName | Read/Write | MacroPdf417 barcode file name (optional field). MicroPDF417 barcode file name (optional field for Structured Append mode) |
| MacroPdf417FileSize | Read/Write | MacroPdf417 file size (optional field). MicroPDF417 file size (optional field for Structured Append mode) The file size field contains the size in bytes of the entire source file. |
| MacroPdf417SegmentID | Read/Write | MacroPdf417 barcode’s segment ID (Required field), which starts from 0, to MacroSegmentsCount - 1. MicroPDF417 barcode’s segment ID (Required field for Structured Append mode) |
| MacroPdf417SegmentsCount | Read/Write | MacroPdf417 barcode segments count (optional field). MicroPDF417 barcode segments count (optional field for Structured Append mode) |
| MacroPdf417Sender | Read/Write | MacroPdf417 barcode sender name (optional field). MicroPDF417 barcode sender name (optional field for Structured Append mode) |
| MacroPdf417Terminator | Read/Write | Used to tell the encoder whether to add Macro PDF417 Terminator (codeword 922) to the segment. Applied only for Macro PDF417. |
| MacroPdf417TimeStamp | Read/Write | MacroPdf417 barcode time stamp (optional field). MicroPDF417 barcode time stamp (optional field for Structured Append mode) |
| Pdf417CompactionMode | Read/Write | Pdf417 symbology type of BarCode’s compaction mode. Default value: Pdf417CompactionMode::AUTO. |
| Pdf417ECIEncoding | Read/Write | Extended Channel Interpretation Identifiers. It is used to tell the barcode reader details about the used references for encoding the data in the symbol. Not applied for Macro PDF417 text fields. Current implementation consists all well known charset encodings. |
| Pdf417EncodeMode | Read/Write | Identifies Pdf417 encode mode. Default value: Auto. |
| Pdf417ErrorLevel | Read/Write | Gets Pdf417 symbology type of BarCode’s error correction level ranging from level0 to level8, level0 means no error correction info, level8 means best error correction which means a larger picture. |
| Pdf417MacroAddressee | Read/Write | Gets macro Pdf417 barcode addressee name. |
| Pdf417MacroChecksum | Read/Write | Gets macro Pdf417 barcode checksum. |
| Pdf417MacroECIEncoding | Read/Write | Extended Channel Interpretation Identifiers. Applies for Macro PDF417 text fields. |
| Pdf417MacroFileID | Read/Write | Getsmacro Pdf417 barcode’s file ID. Used for MacroPdf417. |
| Pdf417MacroFileName | Read/Write | Gets macro Pdf417 barcode file name. |
| Pdf417MacroFileSize | Read/Write | Gets macro Pdf417 file size. |
| Pdf417MacroSegmentID | Read/Write | Gets macro Pdf417 barcode’s segment ID, which starts from 0, to MacroSegmentsCount - 1. |
| Pdf417MacroSegmentsCount | Read/Write | Gets macro Pdf417 barcode segments count. |
| Pdf417MacroSender | Read/Write | Gets macro Pdf417 barcode sender name. |
| Pdf417MacroTerminator | Read/Write | Used to tell the encoder whether to add Macro PDF417 Terminator (codeword 922) to the segment. Applied only for Macro PDF417. |
| Pdf417MacroTimeStamp | Read/Write | Gets macro Pdf417 barcode time stamp. |
| Pdf417Truncate | Read/Write | Whether Pdf417 symbology type of BarCode is truncated (to reduce space). |
| Rows | Read/Write | Rows count. |
| Truncate | Read/Write | Whether Pdf417 symbology type of BarCode is truncated (to reduce space). Also known as CompactPDF417. Rigth row indicator and right stop pattern are removed in this mode. |
Pdf417Parameters__construct(Pdf417ParametersDTO $pdf417ParametersDto)
| Parameter | Type | Description |
|---|---|---|
$pdf417ParametersDto | Pdf417ParametersDTO |
isCode128EmulationisCode128Emulation()
Can be used only with MicroPdf417 and encodes Code 128 emulation modes 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
isLinkedisLinked()
Defines linked modes with GS1MicroPdf417, MicroPdf417 and Pdf417 barcodes With GS1MicroPdf417 symbology encodes 906, 907, 912, 913, 914, 915 “Linked” UCC/EAN-128 modes With MicroPdf417 and Pdf417 symbologies encodes 918 linkage flag to associated linear component other than an EAN.UCC
isReaderInitializationisReaderInitialization()
Used to instruct the reader to interpret the data contained within the symbol as programming for reader initialization
setCode128EmulationsetCode128Emulation(bool $value)
Can be used only with MicroPdf417 and encodes Code 128 emulation modes 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
| Parameter | Type | Description |
|---|---|---|
$value | bool |
setLinkedsetLinked(bool $value)
Defines linked modes with GS1MicroPdf417, MicroPdf417 and Pdf417 barcodes With GS1MicroPdf417 symbology encodes 906, 907, 912, 913, 914, 915 “Linked” UCC/EAN-128 modes With MicroPdf417 and Pdf417 symbologies encodes 918 linkage flag to associated linear component other than an EAN.UCC
| Parameter | Type | Description |
|---|---|---|
$value | bool |
setReaderInitializationsetReaderInitialization(bool $value)
Used to instruct the reader to interpret the data contained within the symbol as programming for reader initialization
| Parameter | Type | Description |
|---|---|---|
$value | bool |
AspectRatio
Access: Read/Write
Height/Width ratio of 2D BarCode module.
Height/Width ratio of 2D BarCode module.
| Parameter | Type | Description |
|---|---|---|
$value | float |
Columns
Access: Read/Write
Columns count.
Columns count.
| Parameter | Type | Description |
|---|---|---|
$value | int |
ECIEncoding
Access: Read/Write
Extended Channel Interpretation Identifiers. It is used to tell the barcode reader details about the used references for encoding the data in the symbol. Not applied for Macro PDF417 text fields. Current implementation consists all well known charset encodings.
Extended Channel Interpretation Identifiers. It is used to tell the barcode reader details about the used references for encoding the data in the symbol. Not applied for Macro PDF417 text fields. Current implementation consists all well known charset encodings.
| Parameter | Type | Description |
|---|---|---|
$value | int |
EncodeMode
Access: Read/Write
Identifies Pdf417 encode mode. Default value: Auto.
Identifies Pdf417 encode mode. Default value: Auto.
| Parameter | Type | Description |
|---|---|---|
$value | int |
ErrorLevel
Access: Read/Write
Returns: Pdf417 symbology type of BarCode’s error correction level ranging from level0 to level8, level0 means no error correction info, level8 means best error correction which means a larger picture.
Gets Pdf417 symbology type of BarCode’s error correction level ranging from level0 to level8, level0 means no error correction info, level8 means best error correction which means a larger picture.
Sets Pdf417 symbology type of BarCode’s error correction level ranging from level0 to level8, level0 means no error correction info, level8 means best error correction which means a larger picture.
| Parameter | Type | Description |
|---|---|---|
$value | int | Pdf417 symbology type of BarCode’s error correction level ranging from level0 to level8, level0 means no error correction info, level8 means best error correction which means a larger picture. |
MacroCharacters
Access: Read/Write
Macro Characters 05 and 06 values are used to obtain more compact encoding in special modes. Can be used only with MicroPdf417 and encodes 916 and 917 MicroPdf417 modes Default value: MacroCharacters.None.
Macro Characters 05 and 06 values are used to obtain more compact encoding in special modes. Can be used only with MicroPdf417 and encodes 916 and 917 MicroPdf417 modes Default value: MacroCharacters.None.
| Parameter | Type | Description |
|---|---|---|
$value | int |
MacroPdf417Addressee
Access: Read/Write
MacroPdf417 barcode addressee name (optional field). MicroPDF417 barcode addressee name (optional field for Structured Append mode)
MacroPdf417 barcode addressee name (optional field). MicroPDF417 barcode addressee name (optional field for Structured Append mode)
| Parameter | Type | Description |
|---|---|---|
$value | string |
MacroPdf417Checksum
Access: Read/Write
MacroPdf417 barcode checksum (optional field). MicroPDF417 barcode checksum (optional field for Structured Append mode) 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
MacroPdf417 barcode checksum (optional field). MicroPDF417 barcode checksum (optional field for Structured Append mode) 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
| Parameter | Type | Description |
|---|---|---|
$value | int |
MacroPdf417ECIEncoding
Access: Read/Write
Extended Channel Interpretation Identifiers. Applies for Macro PDF417 text fields.
Extended Channel Interpretation Identifiers. Applies for Macro PDF417 text fields.
| Parameter | Type | Description |
|---|---|---|
$value | int |
MacroPdf417FileID
Access: Read/Write
MacroPdf417 barcode’s file ID (Required field). MicroPDF417 barcode’s file ID (Required field for Structured Append mode)
MacroPdf417 barcode’s file ID (Required field). MicroPDF417 barcode’s file ID (Required field for Structured Append mode)
| Parameter | Type | Description |
|---|---|---|
$value | int |
MacroPdf417FileName
Access: Read/Write
MacroPdf417 barcode file name (optional field). MicroPDF417 barcode file name (optional field for Structured Append mode)
MacroPdf417 barcode file name (optional field). MicroPDF417 barcode file name (optional field for Structured Append mode)
| Parameter | Type | Description |
|---|---|---|
$value | string |
MacroPdf417FileSize
Access: Read/Write
MacroPdf417 file size (optional field). MicroPDF417 file size (optional field for Structured Append mode) The file size field contains the size in bytes of the entire source file.
MacroPdf417 file size (optional field). MicroPDF417 file size (optional field for Structured Append mode) The file size field contains the size in bytes of the entire source file.
| Parameter | Type | Description |
|---|---|---|
$value | int |
MacroPdf417SegmentID
Access: Read/Write
MacroPdf417 barcode’s segment ID (Required field), which starts from 0, to MacroSegmentsCount - 1. MicroPDF417 barcode’s segment ID (Required field for Structured Append mode)
MacroPdf417 barcode’s segment ID (Required field), which starts from 0, to MacroSegmentsCount - 1. MicroPDF417 barcode’s segment ID (Required field for Structured Append mode)
| Parameter | Type | Description |
|---|---|---|
$value | int |
MacroPdf417SegmentsCount
Access: Read/Write
MacroPdf417 barcode segments count (optional field). MicroPDF417 barcode segments count (optional field for Structured Append mode)
MacroPdf417 barcode segments count (optional field). MicroPDF417 barcode segments count (optional field for Structured Append mode)
| Parameter | Type | Description |
|---|---|---|
$value | int |
MacroPdf417Sender
Access: Read/Write
MacroPdf417 barcode sender name (optional field). MicroPDF417 barcode sender name (optional field for Structured Append mode)
MacroPdf417 barcode sender name (optional field). MicroPDF417 barcode sender name (optional field for Structured Append mode)
| Parameter | Type | Description |
|---|---|---|
$value | string |
MacroPdf417Terminator
Access: Read/Write
Used to tell the encoder whether to add Macro PDF417 Terminator (codeword 922) to the segment. Applied only for Macro PDF417.
Used to tell the encoder whether to add Macro PDF417 Terminator (codeword 922) to the segment. Applied only for Macro PDF417.
| Parameter | Type | Description |
|---|---|---|
$value | int |
MacroPdf417TimeStamp
Access: Read/Write
MacroPdf417 barcode time stamp (optional field). MicroPDF417 barcode time stamp (optional field for Structured Append mode)
MacroPdf417 barcode time stamp (optional field). MicroPDF417 barcode time stamp (optional field for Structured Append mode)
| Parameter | Type | Description |
|---|---|---|
$value | DateTime |
Pdf417CompactionMode
Access: Read/Write
Pdf417 symbology type of BarCode’s compaction mode. Default value: Pdf417CompactionMode::AUTO.
Pdf417 symbology type of BarCode’s compaction mode. Default value: Pdf417CompactionMode::AUTO.
| Parameter | Type | Description |
|---|---|---|
$value | int |
Pdf417ECIEncoding
Access: Read/Write
Extended Channel Interpretation Identifiers. It is used to tell the barcode reader details about the used references for encoding the data in the symbol. Not applied for Macro PDF417 text fields. Current implementation consists all well known charset encodings.
Extended Channel Interpretation Identifiers. It is used to tell the barcode reader details about the used references for encoding the data in the symbol. Not applied for Macro PDF417 text fields. Current implementation consists all well known charset encodings.
| Parameter | Type | Description |
|---|---|---|
$value | int |
Pdf417EncodeMode
Access: Read/Write
Identifies Pdf417 encode mode. Default value: Auto.
Identifies Pdf417 encode mode. Default value: Auto.
| Parameter | Type | Description |
|---|---|---|
$value | int |
Pdf417ErrorLevel
Access: Read/Write
Gets Pdf417 symbology type of BarCode’s error correction level ranging from level0 to level8, level0 means no error correction info, level8 means best error correction which means a larger picture.
Sets Pdf417 symbology type of BarCode’s error correction level ranging from level0 to level8, level0 means no error correction info, level8 means best error correction which means a larger picture.
| Parameter | Type | Description |
|---|---|---|
$value | int |
Pdf417MacroAddressee
Access: Read/Write
Gets macro Pdf417 barcode addressee name.
Sets macro Pdf417 barcode addressee name.
| Parameter | Type | Description |
|---|---|---|
$value | string |
Pdf417MacroChecksum
Access: Read/Write
Returns: int checksum field contains the value of the 16-bit (2 bytes) CRC checksum using the CCITT-16 polynomial.
Gets macro Pdf417 barcode checksum.
Sets macro Pdf417 barcode checksum.
| Parameter | Type | Description |
|---|---|---|
$value | int |
Pdf417MacroECIEncoding
Access: Read/Write
Extended Channel Interpretation Identifiers. Applies for Macro PDF417 text fields.
Extended Channel Interpretation Identifiers. Applies for Macro PDF417 text fields.
| Parameter | Type | Description |
|---|---|---|
$value | int |
Pdf417MacroFileID
Access: Read/Write
Getsmacro Pdf417 barcode’s file ID. Used for MacroPdf417.
Sets macro Pdf417 barcode’s file ID. Used for MacroPdf417.
| Parameter | Type | Description |
|---|---|---|
$value | int |
Pdf417MacroFileName
Access: Read/Write
Gets macro Pdf417 barcode file name.
Sets macro Pdf417 barcode file name.
| Parameter | Type | Description |
|---|---|---|
$value | string |
Pdf417MacroFileSize
Access: Read/Write
Returns: int file size field contains the size in bytes of the entire source file.
Gets macro Pdf417 file size.
Sets macro Pdf417 file size.
| Parameter | Type | Description |
|---|---|---|
$value | int |
Pdf417MacroSegmentID
Access: Read/Write
Gets macro Pdf417 barcode’s segment ID, which starts from 0, to MacroSegmentsCount - 1.
Sets macro Pdf417 barcode’s segment ID, which starts from 0, to MacroSegmentsCount - 1.
| Parameter | Type | Description |
|---|---|---|
$value | int |
Pdf417MacroSegmentsCount
Access: Read/Write
Gets macro Pdf417 barcode segments count.
Sets macro Pdf417 barcode segments count.
| Parameter | Type | Description |
|---|---|---|
$value | int |
Pdf417MacroSender
Access: Read/Write
Gets macro Pdf417 barcode sender name.
Sets macro Pdf417 barcode sender name.
| Parameter | Type | Description |
|---|---|---|
$value | string |
Pdf417MacroTerminator
Access: Read/Write
Used to tell the encoder whether to add Macro PDF417 Terminator (codeword 922) to the segment. Applied only for Macro PDF417.
Used to tell the encoder whether to add Macro PDF417 Terminator (codeword 922) to the segment. Applied only for Macro PDF417.
| Parameter | Type | Description |
|---|---|---|
$value | int |
Pdf417MacroTimeStamp
Access: Read/Write
Gets macro Pdf417 barcode time stamp.
Sets macro Pdf417 barcode time stamp.
| Parameter | Type | Description |
|---|---|---|
$value | DateTime |
Pdf417Truncate
Access: Read/Write
Whether Pdf417 symbology type of BarCode is truncated (to reduce space).
Whether Pdf417 symbology type of BarCode is truncated (to reduce space).
| Parameter | Type | Description |
|---|---|---|
$value | bool |
Rows
Access: Read/Write
Rows count.
Rows count.
| Parameter | Type | Description |
|---|---|---|
$value | int |
Truncate
Access: Read/Write
Whether Pdf417 symbology type of BarCode is truncated (to reduce space). Also known as CompactPDF417. Rigth row indicator and right stop pattern are removed in this mode.
Whether Pdf417 symbology type of BarCode is truncated (to reduce space). Also known as CompactPDF417. Rigth row indicator and right stop pattern are removed in this mode.
| Parameter | Type | Description |
|---|---|---|
$value | bool |