Description
This method reads and decodes a data matrix with any orientation in the given range of the input image. This method works for only monochrome, 8 bit per pixel and 24 bit per pixel images. (The 8 bit per pixel and 24 bit per pixel images are converted into monochrome, using adaptive thresholding method.) If Structured Append Info is added to the data matrix the relevant properties will be set (FileID, DMTotalNum, DMIndex), otherwise these properties will be zeroed. The checksum indicator can be retrieved by the method GetCheckSumOK. The decoded string can be retrieved by the method GetOutpString. Detected orientation can be retrieved by the method GetAngle.
Syntax RetVal = [BiBrDM]ReadDataMatrix hDIB
Returns RetVal Short 0 on success or an error code on failure. For possible values see the Data Matrix Error Codes.
Remarks hDib LONGLONG Device independent bitmap.
See Also GetCheckSumOK, GetOutpString, GetAngle