Property: FixedLength

(TBarcodeFmx2D_AztecRunnes)

Specifies whether the leading zeros are required in the barcode text of an Aztec Runes barcode symbol.

Syntax:

property FixedLength: Boolean;

Description:

For the Aztec Runes barcode symbology, if the barcode text is specified by the Barcode property, it must be set to a number string. If it's secified by the Data property, it must be set to a number in ASCII bytes sequence. The number is an integer between 0 and 255 (including the boundaries). The property specifies whether the leading zeros are required in the barcode text.

If the property is set to true, the length of the barcode text must be exactly equal to 3 digits, adding leading zeros are required if the length is less than 3 digits, such as '0', '2', and '25'.

If the property is set to false, the length of the number barcode text should be less than, or equal to 3 digits, the leading zeros are optional, such as '0', '12', '012', and '255'. In this case, the barcode symbol isn't changed when you remove leading zeros from the barcode text or add leading zeros to the barcode text. For example, the barcode symbol '12' is same as barcode symbol '012'.

Note, for the Aztec Runes barcode symbology, the Barcode property cannot be set to an empty string, otherwise, an OnInvalidLength will occur. Also, the Data property cannot be set to an empty TBytes array, otherwise, an OnInvalidDataLength event will occur.

See also the "Character set" and the "Data capacity" sections in the "TBarcodeFmx2D_AztecRunes" article.

Contents