Property: FixedLength

(TBarcode2D_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 (only for Delphi/C++ Builder 2009 or later), it must be set to a number in AnsiString format. 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 number string 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 string 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 event will occur. Also, the Data (only for Delphi/C++ Builder 2009 or later) property cannot be set to an empty AnsiString, otherwise, an OnInvalidDataLength (only for Delphi/C++ Builder 2009 or later) event will occur.

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

Contents