DataMatrixParameters
DataMatrixParameters class
Namespace: Aspose.Barcode.Generation
DataMatrix parameters.
Constructors
| Name | Description |
|---|---|
| __construct |
Methods
| Name | Static | Description |
|---|---|---|
| isReaderProgramming | No | Used to instruct the reader to interpret the data contained within the symbol as programming for reader initialization. Default value: false |
| setReaderProgramming | No | Used to instruct the reader to interpret the data contained within the symbol as programming for reader initialization. Default value: false |
Properties
| Name | Read/Write | Description |
|---|---|---|
| AspectRatio | Read/Write | Height/Width ratio of 2D BarCode module. |
| Columns | Read/Write | Columns count. |
| DataMatrixEcc | Read/Write | Gets a Datamatrix ECC type. Default value: DataMatrixEccType::ECC_200. |
| DataMatrixEncodeMode | Read/Write | Encode mode of Datamatrix barcode. Default value: DataMatrixEncodeMode::AUTO. |
| DataMatrixVersion | Read/Write | Gets a Datamatrix symbol size. Default value: DataMatrixVersion.Auto. |
| ECIEncoding | Read/Write | Gets ECI encoding. Used when DataMatrixEncodeMode is Auto. Default value: ISO-8859-1 |
| EccType | Read/Write | Gets a Datamatrix ECC type. Default value: DataMatrixEccType.Ecc200. |
| EncodeMode | Read/Write | Encode mode of Datamatrix barcode. Default value: EncodeMode.Auto. |
| MacroCharacters | Read/Write | ISO/IEC 16022 5.2.4.7 Macro characters 11.3 Protocol for Macro characters in the first position (ECC 200 only) Macro Characters 05 and 06 values are used to obtain more compact encoding in special modes. Can be used only with DataMatrixEccType.Ecc200 or DataMatrixEccType.EccAuto. Cannot be used with EncodeTypes::GS_1_DATA_MATRIX Default value: MacroCharacter::NONE. |
| Rows | Read/Write | Rows count. |
| StructuredAppendBarcodeId | Read/Write | Barcode ID for Structured Append mode of Datamatrix barcode. Default value: 0 |
| StructuredAppendBarcodesCount | Read/Write | Barcodes count for Structured Append mode of Datamatrix barcode. Default value: 0 |
| StructuredAppendFileId | Read/Write | File ID for Structured Append mode of Datamatrix barcode. Default value: 0 |
| Version | Read/Write | Gets a Datamatrix symbol size. Default value: Version.Auto. |
DataMatrixParameters__construct(DataMatrixParametersDTO $dataMatrixParametersDto)
| Parameter | Type | Description |
|---|---|---|
$dataMatrixParametersDto | DataMatrixParametersDTO |
isReaderProgrammingisReaderProgramming()
Used to instruct the reader to interpret the data contained within the symbol as programming for reader initialization. Default value: false
setReaderProgrammingsetReaderProgramming(bool $value)
Used to instruct the reader to interpret the data contained within the symbol as programming for reader initialization. Default value: false
| 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 |
DataMatrixEcc
Access: Read/Write
Gets a Datamatrix ECC type. Default value: DataMatrixEccType::ECC_200.
Sets a Datamatrix ECC type. Default value: DataMatrixEccType::ECC_200.
| Parameter | Type | Description |
|---|---|---|
$value | int |
DataMatrixEncodeMode
Access: Read/Write
Encode mode of Datamatrix barcode. Default value: DataMatrixEncodeMode::AUTO.
Encode mode of Datamatrix barcode. Default value: DataMatrixEncodeMode::AUTO.
| Parameter | Type | Description |
|---|---|---|
$value | int |
DataMatrixVersion
Access: Read/Write
Gets a Datamatrix symbol size. Default value: DataMatrixVersion.Auto.
Sets a Datamatrix symbol size. Default value: DataMatrixVersion.Auto.
| Parameter | Type | Description |
|---|---|---|
$value | int |
ECIEncoding
Access: Read/Write
Gets ECI encoding. Used when DataMatrixEncodeMode is Auto. Default value: ISO-8859-1
Sets ECI encoding. Used when DataMatrixEncodeMode is Auto. Default value: ISO-8859-1
| Parameter | Type | Description |
|---|---|---|
$value | int |
EccType
Access: Read/Write
Returns: a Datamatrix ECC type.
Gets a Datamatrix ECC type. Default value: DataMatrixEccType.Ecc200.
Sets a Datamatrix ECC type. Default value: DataMatrixEccType.Ecc200.
| Parameter | Type | Description |
|---|---|---|
$value | int | a Datamatrix ECC type. |
EncodeMode
Access: Read/Write
Encode mode of Datamatrix barcode. Default value: EncodeMode.Auto.
Encode mode of Datamatrix barcode. Default value: EncodeMode.Auto.
| Parameter | Type | Description |
|---|---|---|
$value | int |
MacroCharacters
Access: Read/Write
ISO/IEC 16022 5.2.4.7 Macro characters 11.3 Protocol for Macro characters in the first position (ECC 200 only) Macro Characters 05 and 06 values are used to obtain more compact encoding in special modes. Can be used only with DataMatrixEccType.Ecc200 or DataMatrixEccType.EccAuto. Cannot be used with EncodeTypes::GS_1_DATA_MATRIX Default value: MacroCharacter::NONE.
ISO/IEC 16022 5.2.4.7 Macro characters 11.3 Protocol for Macro characters in the first position (ECC 200 only) Macro Characters 05 and 06 values are used to obtain more compact encoding in special modes. Can be used only with DataMatrixEccType.Ecc200 or DataMatrixEccType.EccAuto. Cannot be used with EncodeTypes::GS_1_DATA_MATRIX Default value: MacroCharacter::NONE.
| Parameter | Type | Description |
|---|---|---|
$value | int |
Rows
Access: Read/Write
Rows count.
Rows count.
| Parameter | Type | Description |
|---|---|---|
$value | int |
StructuredAppendBarcodeId
Access: Read/Write
Barcode ID for Structured Append mode of Datamatrix barcode. Default value: 0
Barcode ID for Structured Append mode of Datamatrix barcode. Default value: 0
| Parameter | Type | Description |
|---|---|---|
$value | int |
StructuredAppendBarcodesCount
Access: Read/Write
Barcodes count for Structured Append mode of Datamatrix barcode. Default value: 0
Barcodes count for Structured Append mode of Datamatrix barcode. Default value: 0
| Parameter | Type | Description |
|---|---|---|
$value | int |
StructuredAppendFileId
Access: Read/Write
File ID for Structured Append mode of Datamatrix barcode. Default value: 0
File ID for Structured Append mode of Datamatrix barcode. Default value: 0
| Parameter | Type | Description |
|---|---|---|
$value | int |
Version
Access: Read/Write
Returns: a Datamatrix symbol size.
Gets a Datamatrix symbol size. Default value: Version.Auto.
Sets a Datamatrix symbol size. Default value: Version.Auto.
| Parameter | Type | Description |
|---|---|---|
$value | int | a Datamatrix symbol size. |