addCodetextWithCompactionMode

addCodetextWithCompactionMode(mode, codetext)

Adds codetext with the specified QR compaction mode to the extended codetext items.

ParameterDescription
modeQR compaction mode for the codetext.
codetextCodetext in Unicode to add as an extended codetext item.

Throws: IllegalArgumentException The specified codetext cannot be encoded in the selected QR compaction mode.