Description This method works for only monochrome, 8 bit per pixel and 24 bit per pixel images. Returned Orientation is the orientation of the barcode, but this method only searches and does not decode the barcodes, so orientation is not periodical with 360 degrees, but 180 degrees. Angle is a value that shows the detected orientation. The angle value can be retrieved by the method GetAngle.
Syntax RetVal = [BiBrw1Dh]GetBarCodeOrientation hDIB
Returns RetVal Short 0 on success or an error code on failure. For possible values see Barcode Error codes.
Remarks hDib LONGLONG Device independent bitmap.
See Also GetAngle