DataMatrixParameters

DataMatrixParameters class

Module: aspose_barcode.generation.data_matrix_parameters

DataMatrix parameters.

Constructors

NameDescription
init

Methods

NameReturn TypeStaticDescription
strstrNoReturns a human-readable string representation of this DataMatrixParameters.

Properties

NameTypeDescription
aspect_ratiofloatHeight/Width ratio of 2D BarCode module.
columnsintColumns count.
data_matrix_eccDataMatrixEccTypeGets a Datamatrix ECC type. Default value: DataMatrixEccType.ECC_200.
data_matrix_encode_modeDataMatrixEncodeModeEncode mode of Datamatrix barcode. Default value: DataMatrixEncodeMode.AUTO.
data_matrix_versionDataMatrixVersionGets Datamatrix symbol size.
ecc_typeDataMatrixEccType
eci_encodingECIEncodingsGets ECI encoding. Used when DataMatrixEncodeMode is Auto. Default value: ISO-8859-1.
encode_modeDataMatrixEncodeMode
macro_charactersMacroCharacterISO/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_programmingboolUsed to instruct the reader to interpret the data contained within the symbol.
rowsintRows count.
structured_append_barcode_idintBarcode ID for Structured Append mode of Datamatrix barcode. Default value: 0.
structured_append_barcodes_countintBarcodes count for Structured Append mode of Datamatrix barcode. Default value: 0.
structured_append_file_idintFile ID for Structured Append mode of Datamatrix barcode. Default value: 0.
versionDataMatrixVersion

DataMatrixParameters Constructor

__init__(self, _java_class)
ParameterTypeDescription
_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.

ParameterTypeDescription
valuefloat

DataMatrixParameters.columns

Type: int

Columns count.

Columns count.

ParameterTypeDescription
valueint

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.

ParameterTypeDescription
valueDataMatrixEccType

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.

ParameterTypeDescription
valueDataMatrixEncodeMode

DataMatrixParameters.data_matrix_version

Type: DataMatrixVersion

Gets Datamatrix symbol size.

Returns: Datamatrix symbol size.

Sets Datamatrix symbol size.

ParameterTypeDescription
valueDataMatrixVersionDatamatrix symbol size.

DataMatrixParameters.ecc_type

Type: DataMatrixEccType

ParameterTypeDescription
valueDataMatrixEccType

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.

ParameterTypeDescription
valueECIEncodings

DataMatrixParameters.encode_mode

Type: DataMatrixEncodeMode

ParameterTypeDescription
valueDataMatrixEncodeMode

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.

ParameterTypeDescription
valueMacroCharacter

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.

ParameterTypeDescription
valuebool

DataMatrixParameters.rows

Type: int

Rows count.

Rows count.

ParameterTypeDescription
valueint

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.

ParameterTypeDescription
valueint

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.

ParameterTypeDescription
valueint

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.

ParameterTypeDescription
valueint

DataMatrixParameters.version

Type: DataMatrixVersion

ParameterTypeDescription
valueDataMatrixVersion