AztecConfigure Function

Navigation:  Reference Guide >

AztecConfigure Function

Previous pageReturn to chapter overviewNext page

Sets up the parameters of Aztec barcode.

void AztecConfigure(WORD Mode, WORD ECLevel, WORD PreferredFormat, BOOL HandleTilde);

Parameters

Mode

Indicates which encoding mode is used, this parameter can be one of the following values.

Value

Description

0

Auto mode for mainly encoding ASCII characters (0-127)

1

Binary mode for mainly encoding bytes of data

ECLevel

Specifies the value of error correction level, the valid value must be between 5 and 95, the recommended value is 23.

PreferredFormat

Specifies the format of Aztec barcode, please refer to this note for all possible formats.

HandleTilde

Indicates whether to process the tilde character "~" or not, if this parameter is set to TRUE, non-printable characters can be passed to the library by using the tilde character, "~dNNN" represents the ASCII character encoded by the 3 digits NNN, for example, "~d010" represents the character LF (line feed).