ReadAllDataMatricesOnImage

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.) The number of detected data matrices can be retrieved by the method GetBarcodeNum (). This function will use the Peterson-Gorenstein-Zierler algorithm to detect and repair damaged codewords.

Syntax RetVal = [BiBrDM]ReadAllDataMatricesOnImage hDIB

Returns               RetVal       LONGLONG             A pointer to a Data Matrix struct.

Remarks            hDib              LONGLONG            Device independent bitmap.

See Also              GetBarcodeNum