(TBarcodeFmx2D_PDF417)
Returns the check sum of a barcode text that will be encoded into each symbol in a Macro PDF417 set. The value will be used in the macro PDF417 control information block, and the macro PDF417 control information block will be used by each symbol in the Macro PDF417 set. There are two different overloading methods, Syntax 1 and Syntax 2:
Syntax 1: Returns the check sum value of a barcode text. The barcode text is specified in the Barcode parameter. It is of type string.
The Barcode parameter is in fact an UnicodeString. By default, the unicode string will be converted to an UTF-8 bytes sequence (the BOM isn't included), then caculate its check sum. If you want to use other encoding scheme (for example the ANSI, UTF-16), please convert it in the OnEncode event handle, or use the GetCheckSum (Syntax 2) overloading method and specify the converted bytes sequence in its Data parameter. If you want to caculate the check sum of a block of binary (bytes) data, please use the GetCheckSum (Syntax 2) overloading method.
Syntax 2: Returns the check sum value of a barcode text. The barcode text is specified in the Data parameter. It is of type TBytes (it is in fact a byte array).
You can use the method to caculate the check sum of a block of binary (bytes) data.
See also the "Macro PDF417" section in the "TBarcodeFmx2D_PDF417" article.