Specifies the barcode text.
property Barcode: string;
Specifies the barcode text to encode it into the barcode symbol. The OnChange event will occur when the property value is changed. The OnInvalidChar event will occur if there is any invalid character in the Barcode property value, and the OnInvalidLength event will occur if the length of the Barcode property value is invalid.
The property is of type string. For Delphi/C++ Builder 2007 or early, it is of type AnsiString. By default, it is an ANSI encoding string, if you want to use other encoding scheme (for example the UTF-8, UTF-16), please convert it in the OnEncode event, or specify the converted string in the property. For Delphi/C++ Builder 2009 or later, it is in fact an UnicodeString instead of AnsiString. By default, the unicode string will be converted to an ANSI encoding string, then be encoded into the barcode symbol. If you want to use other encoding scheme (for example the UTF-8, UTF-16), please convert it in the OnEncode event, or specify the converted string in the Data property.
For Delphi/C++ Builder 2007 or early, you can use the property to encode block of binary (bytes) data; For Delphi/C++ Builder 2009 or later, in order to encode block of binary (bytes) data, please use the Data property, it is of type AnsiString.
For the TBarcode2D_RSS14 and TBarcode2D_RSSLimited components, if the property AutoCheckDigit is set to true, the check digit doesn't need to be entered in the here, otherwise the check digit can be specified by you in here.
Note, if a 2D component (including the TBarcode2D_CCA, TBarcode2D_CCB, or TBarcode2D_CCC) together with a linear component (including the TBarcode2D_RSS14, TBarcode2D_RSSLimited, TBarcode2D_RSSExpanded, TBarcode1D_UPCE, TBarcode1D_UPCE0, TBarcode1D_UPCE1, TBarcode1D_UPCA, TBarcode1D_EAN8, TBarcode1D_EAN13, or TBarcode1D_EAN128) is assembled to generate an EAN.UCC composite barcode symbol, the Barcode property of the 2D component only specifies the barcode text for the 2D component, and the Barcode or Data (only for Delphi/C++ Builder 2009 or later) property of the linear component only specifies the barcode text for the linear component.