GetDataMatrixStructElement

Description

The GetDataMatrixStructElement method retrieves tha data values of a given element in a data matrix struct allocated by the ReadAllDataMatricesOnImage method. If Structured Append Info is added to the data matrix in questionthe relevant properties will be set (FileID, DMTotalNum, DMIndex), otherwise these properties will be zeroed. This method writes decoded string into a ByteArray allocated by method SetBarcodeArrayLength. Method SetBarcodeArrayLength must be called before calling this method. The elements of ByteArray can be retrieved by method GetBarcodeArrayElementA. The checksum indicator can be retrieved by the method GetCheckSumOK. Detected orientation can be retrieved by the method GetAngle.

Syntax RetVal = [BiBrDM] GetDataMatrixStructElement DataMatrixStructHandle ElementNum

Returns               RetVal       Boolean                       True on success or False on error.

Remarks            DataMatrixStructHandle         LONGLONG  Handle of the input struct.

                            ElementNum         Short               Ordinal number of the element of interest.

See Also              SetBarcodeArrayLength, GetBarcodeArrayElementA, GetCheckSumOK, GetAngle