Description This method reads and decodes a horizontal or vertical, Matrix 2 from 5 type barcode in the given range of the input image and returns the detected type and the decoded value. Decoded values always contain the checksum characters if available. 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.) Horizontal barcode reader/decoder methods always assume that the barcode to decode is horizontal and the reading direction is left to right. For further information see Horizontal and Vertical Reading/Decoding section of this manual. The decoded value can be retrieved by the method GetBuffer. Score is a value that shows the sureness of decoding. Score is between 0.0 (low sureness) and 100.0 (high sureness). The score value can be retrieved by the method GetScore.
Syntax RetVal = [BiBrw1Dh]ReadHorVerMatrix25BarCode hDib
Returns RetVal Short 0 on success or an error code on failure. For possible values see the Barcode Error codes.
Remarks hDib LONGLONG Device independent bitmap.