encodeHighLevel

Performs message encoding of a DataMatrix message using the algorithm described in annex P of ISO/IEC 16022:2000(E).

Return

the encoded message (the char values range from 0 to 255)

Parameters

msg

the message


fun encodeHighLevel(msg: String, shape: SymbolShapeHint, minSize: Dimension?, maxSize: Dimension?): String

Performs message encoding of a DataMatrix message using the algorithm described in annex P of ISO/IEC 16022:2000(E).

Return

the encoded message (the char values range from 0 to 255)

Parameters

msg

the message

shape

requested shape. May be SymbolShapeHint.FORCE_NONE, SymbolShapeHint.FORCE_SQUARE or SymbolShapeHint.FORCE_RECTANGLE.

minSize

the minimum symbol size constraint or null for no constraint

maxSize

the maximum symbol size constraint or null for no constraint


fun encodeHighLevel(msg: String, shape: SymbolShapeHint, minSize: Dimension?, maxSize: Dimension?, forceC40: Boolean): String

Performs message encoding of a DataMatrix message using the algorithm described in annex P of ISO/IEC 16022:2000(E).

Return

the encoded message (the char values range from 0 to 255)

Parameters

msg

the message

shape

requested shape. May be SymbolShapeHint.FORCE_NONE, SymbolShapeHint.FORCE_SQUARE or SymbolShapeHint.FORCE_RECTANGLE.

minSize

the minimum symbol size constraint or null for no constraint

maxSize

the maximum symbol size constraint or null for no constraint

forceC40

enforce C40 encoding