(TBarcodeFmx2D_MicroPDF417)
Returns the check sum of a barcode text that will be encoded into a series of structured append symbols. The value will be used in the structured append block, and the structured append block will be used by each symbol in the series of MicroPDF417 structured append symbols. 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 "Sturctured append" section in the "TBarcodeFmx2D_MicroPDF417" article.