ABBYY Mobile OCR Engine 4

Go to: Contents | Native Library API Reference | Enumerations

TFineBarcodeOrientation

TFineBarcodeOrientation enumeration constants are used to set the barcode orientation in the FineRecognizeBarcode function. The constants are defined using the BIT_FLAG macros or as a combination.

typedef enum tagTFineBarcodeOrientation {
   FBO_LeftToRight = BIT_FLAG( 0 ),
   FBO_DownToTop   = BIT_FLAG( 1 ),
   FBO_RightToLeft = BIT_FLAG( 2 ),
   FBO_TopToDown   = BIT_FLAG( 3 ),

   FBO_AutoDetect = FBO_LeftToRight | FBO_DownToTop | FBO_RightToLeft | FBO_TopToDown
} TFineBarcodeOrientation;

Flag

Name Description
FBO_LeftToRight Barcode is oriented from left to right.
FBO_DownToTop   Barcode is oriented from down to top.
FBO_RightToLeft Barcode is oriented from right to left.
FBO_TopToDown Barcode is oriented from top to down.
FBO_AutoDetect The barcode orientation will be detected automatically.

See also

FineRecognizeBarcode