DataMatrixParameters
DataMatrixParameters class
Module: aspose_barcode.generation.data_matrix_parameters
DataMatrix parameters.
Constructors
| Name | Description |
|---|---|
| init |
Methods
| Name | Return Type | Static | Description |
|---|---|---|---|
| str | str | No | Returns a human-readable string representation of this DataMatrixParameters. |
Properties
| Name | Type | Description |
|---|---|---|
| aspect_ratio | float | Height/Width ratio of 2D BarCode module. |
| columns | int | Columns count. |
| data_matrix_ecc | DataMatrixEccType | Gets a Datamatrix ECC type. Default value: DataMatrixEccType.ECC_200. |
| data_matrix_encode_mode | DataMatrixEncodeMode | Encode mode of Datamatrix barcode. Default value: DataMatrixEncodeMode.AUTO. |
| data_matrix_version | DataMatrixVersion | Gets Datamatrix symbol size. |
| ecc_type | DataMatrixEccType | |
| eci_encoding | ECIEncodings | Gets ECI encoding. Used when DataMatrixEncodeMode is Auto. Default value: ISO-8859-1. |
| encode_mode | DataMatrixEncodeMode | |
| macro_characters | MacroCharacter | 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. |
| reader_programming | bool | Used to instruct the reader to interpret the data contained within the symbol. |
| rows | int | Rows count. |
| structured_append_barcode_id | int | Barcode ID for Structured Append mode of Datamatrix barcode. Default value: 0. |
| structured_append_barcodes_count | int | Barcodes count for Structured Append mode of Datamatrix barcode. Default value: 0. |
| structured_append_file_id | int | File ID for Structured Append mode of Datamatrix barcode. Default value: 0. |
| version | DataMatrixVersion |
DataMatrixParameters Constructor
__init__(self, _java_class)
| Parameter | Type | Description |
|---|---|---|
_java_class | `` |
DataMatrixParameters.str
__str__(self) -> str
Returns a human-readable string representation of this DataMatrixParameters.
Return Type: str — presentation of this DataMatrixParameters.
DataMatrixParameters.aspect_ratio
Type: float
Height/Width ratio of 2D BarCode module.
Height/Width ratio of 2D BarCode module.
| Parameter | Type | Description |
|---|---|---|
value | float |
DataMatrixParameters.columns
Type: int
Columns count.
Columns count.
| Parameter | Type | Description |
|---|---|---|
value | int |
DataMatrixParameters.data_matrix_ecc
Type: DataMatrixEccType
Gets a Datamatrix ECC type. Default value: DataMatrixEccType.ECC_200.
Sets a Datamatrix ECC type. Default value: DataMatrixEccType.ECC_200.
| Parameter | Type | Description |
|---|---|---|
value | DataMatrixEccType |
DataMatrixParameters.data_matrix_encode_mode
Type: DataMatrixEncodeMode
Encode mode of Datamatrix barcode. Default value: DataMatrixEncodeMode.AUTO.
Encode mode of Datamatrix barcode. Default value: DataMatrixEncodeMode.AUTO.
| Parameter | Type | Description |
|---|---|---|
value | DataMatrixEncodeMode |
DataMatrixParameters.data_matrix_version
Type: DataMatrixVersion
Gets Datamatrix symbol size.
Returns: Datamatrix symbol size.
Sets Datamatrix symbol size.
| Parameter | Type | Description |
|---|---|---|
value | DataMatrixVersion | Datamatrix symbol size. |
DataMatrixParameters.ecc_type
Type: DataMatrixEccType
| Parameter | Type | Description |
|---|---|---|
value | DataMatrixEccType |
DataMatrixParameters.eci_encoding
Type: ECIEncodings
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 | ECIEncodings |
DataMatrixParameters.encode_mode
Type: DataMatrixEncodeMode
| Parameter | Type | Description |
|---|---|---|
value | DataMatrixEncodeMode |
DataMatrixParameters.macro_characters
Type: MacroCharacter
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 | MacroCharacter |
DataMatrixParameters.reader_programming
Type: bool
Used to instruct the reader to interpret the data contained within the symbol.
Used to instruct the reader to interpret the data contained within the symbol.
| Parameter | Type | Description |
|---|---|---|
value | bool |
DataMatrixParameters.rows
Type: int
Rows count.
Rows count.
| Parameter | Type | Description |
|---|---|---|
value | int |
DataMatrixParameters.structured_append_barcode_id
Type: int
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 |
DataMatrixParameters.structured_append_barcodes_count
Type: int
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 |
DataMatrixParameters.structured_append_file_id
Type: int
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 |
DataMatrixParameters.version
Type: DataMatrixVersion
| Parameter | Type | Description |
|---|---|---|
value | DataMatrixVersion |