Property: AllowKanjiMode

(TBarcodeFmx2D_QRCode)

Specifies whether to allow the Kanji mode to be used when encoding the barcode data into a QR Code symbol.

Syntax:

property AllowKanjiMode: Boolean;

Description:

QR Code symbology has four encoding modes as Numeric mode, Alphanumeric mode, Kanji mode, and Byte mode respectively in decreasing order of encoding density. The Kanji mode can encode the Kanji characters more effectively. The property specifies whether to allow the Kanji mode to be used when encoding the barcode data into a QR Code symbol.

If the property is set to true, the component will automatically select the encoding mode between Kanji mode and Byte mode when the Kanji characters are encountered, in order to minimize the symbol size. Otherwise, all Kanji characters are always encoded in Byte mode.

See also the "Encoding modes" section in the "TBarcodeFmx2D_QRCode" article.

Contents