Property: AllowGS1

(TBarcode2D_AztecCode, TBarcode2D_DataMatrixEcc200, TBarcode2D_QRCode, TBarcode2D_rMQRCode)

This property is used to directly encode a GS1 barcode string.

Syntax:

property AllowGS1: Boolean;

Description:

When encoding GS1 barcode text, if the property is set to False, you must remove the parentheses enclosing the Application Identifiers (AIs) (the parentheses in the barcode text are treated as part of the GS1 AI data string), insert an FNC1 character at the beginning of the barcode using '\f', and insert an FNC1 or GS character using '\f' at the end of the data for each variable-length AI (this is not required if the variable-length AI is the final AI in the barcode). For example: '\f01006252518888861811020110456(D)CB\f219876543210'.

If the property is set to True, use the GS1 barcode text directly as the value for the Barcode or Data property, or as the value for the Barcode or Data parameter in the DrawTo, DrawToSize, Print, and PrintSize methods. In GS1 barcode text, parentheses "()" should be used to enclose Application Identifiers (AIs), and the characters '((' and ')' should be used to insert '(' and ')' characters to the GS1 AI data; the FNC1 character is inserted automatically and does not need to be added manually. For example: '(01)00625251888886(18)110201(10)456((D)CB(21)9876543210'.

Note, when encoding GS1 barcode text, the AllowEscape property must also be set to True.

Contents