DataMatrixParameters

DataMatrixParameters

DataMatrix parameters.

Constructor

new DataMatrixParameters()

Source:

Methods

getAspectRatio()

Height/Width ratio of 2D BarCode module.
Source:

getColumns()

Columns count.
Source:

getDataMatrixEcc()

Gets a Datamatrix ECC type.
Default value: DataMatrixEccType.ECC_200.
Deprecated: This property is obsolete and will be removed in future releases. Instead, use the getEccType().

Source:

getDataMatrixEncodeMode()

Encode mode of Datamatrix barcode.
Default value: DataMatrixEncodeMode.AUTO.
Deprecated: This property is obsolete and will be removed in future releases. Instead, use the getEncodeMode().

Source:

getDataMatrixVersion()

Gets a Datamatrix symbol size. Default value: DataMatrixVersion.Auto.

Deprecated: This property is obsolete and will be removed in future releases. Instead, use the getVersion().

Source:

getEccType()

Gets a Datamatrix ECC type. Default value: DataMatrixEccType.Ecc200.

Returns:
Type Description
a Datamatrix ECC type.
Source:

getECIEncoding()

Gets ECI encoding. Used when DataMatrixEncodeMode is Auto. Default value: ISO-8859-1

Source:

getEncodeMode()

Encode mode of Datamatrix barcode. Default value: EncodeMode.Auto.

Source:

getMacroCharacters()

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.ECC_200 or DataMatrixEccType.ECC_AUTO.
Cannot be used with EncodeTypes.GS_1_DATA_MATRIX
Default value: MacroCharacter.NONE.
Source:

getRows()

Rows count.
Source:

getStructuredAppendBarcodeId()

Barcode ID for Structured Append mode of Datamatrix barcode. Default value: 0

Source:

getStructuredAppendBarcodesCount()

Barcodes count for Structured Append mode of Datamatrix barcode. Default value: 0

Source:

getStructuredAppendFileId()

File ID for Structured Append mode of Datamatrix barcode. Default value: 0

Source:

getVersion()

Gets a Datamatrix symbol size. Default value: Version.Auto.

Returns:
Type Description
a Datamatrix symbol size.
Source:

isReaderProgramming()

Used to instruct the reader to interpret the data contained within the symbol as programming for reader initialization. Default value: false

Source:

setAspectRatio()

Height/Width ratio of 2D BarCode module.
Source:

setColumns()

Columns count.
Source:

setDataMatrixEcc()

Sets a Datamatrix ECC type.
Default value: DataMatrixEccType.ECC_200.
Deprecated: This property is obsolete and will be removed in future releases. Instead, use the setEccType().

Source:

setDataMatrixEncodeMode()

Encode mode of Datamatrix barcode.
Default value: DataMatrixEncodeMode.AUTO.
Deprecated: This property is obsolete and will be removed in future releases. Instead, use the setEncodeMode().

Source:

setDataMatrixVersion()

Sets a Datamatrix symbol size. Default value: DataMatrixVersion.Auto.

Deprecated: This property is obsolete and will be removed in future releases. Instead, use the setVersion().

Source:

setEccType(value)

Sets a Datamatrix ECC type. Default value: DataMatrixEccType.Ecc200.

Parameters:
Name Type Description
value a Datamatrix ECC type.
Source:

setECIEncoding()

Sets ECI encoding. Used when DataMatrixEncodeMode is Auto. Default value: ISO-8859-1

Source:

setEncodeMode()

Encode mode of Datamatrix barcode. Default value: EncodeMode.Auto.

Source:

setMacroCharacters()

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.ECC_200 or DataMatrixEccType.ECC_AUTO.
Cannot be used with EncodeTypes.GS_1_DATA_MATRIX
Default value: MacroCharacter.NONE.
Source:

setReaderProgramming()

Used to instruct the reader to interpret the data contained within the symbol as programming for reader initialization. Default value: false

Source:

setRows()

Rows count.
Source:

setStructuredAppendBarcodeId()

Barcode ID for Structured Append mode of Datamatrix barcode. Default value: 0

Source:

setStructuredAppendBarcodesCount()

Barcodes count for Structured Append mode of Datamatrix barcode. Default value: 0

Source:

setStructuredAppendFileId()

File ID for Structured Append mode of Datamatrix barcode. Default value: 0

Source:

setVersion(value)

Sets a Datamatrix symbol size. Default value: Version.Auto.

Parameters:
Name Type Description
value a Datamatrix symbol size.
Source:

toString()

Returns a human-readable string representation of this DataMatrixParameters.
Returns:
Type Description
presentation of this DataMatrixParameters.
Source: