> ## Documentation Index
> Fetch the complete documentation index at: https://docs.abbyy.com/llms.txt
> Use this file to discover all available pages before exploring further.

# BarcodeOrientationEnum

**BarcodeOrientationEnum** enumeration constants are used to denote the types of barcode orientation.

```cpp theme={null}
typedef enum {
 BO_Unknown       = 0,
 BO_Left_To_Right = 0x00000001,
 BO_Down_To_Top   = 0x00000002,
 BO_Right_To_Left = 0x00000004,
 BO_Top_To_Down   = 0x00000008,
 BO_Autodetect    = BO_Left_To_Right | BO_Down_To_Top | BO_Right_To_Left | BO_Top_To_Down
} BarcodeOrientationEnum;
```

## Elements

| **Name** | **Description** |
| - | - |
| BO\_Unknown | Denotes unknown type of barcode orientation. It may be used as the return value, if ABBYY FlexiCapture SDK has failed to detect barcode orientation. |
| BO\_Left\_To\_Right | Barcode is oriented from left to right. |
| BO\_Down\_To\_Top | Barcode is oriented from down to top. |
| BO\_Right\_To\_Left | Barcode is oriented from right to left. |
| BO\_Top\_To\_Down | Barcode is oriented from top to down. |
| BO\_Autodetect | Detect the barcode orientation automatically. |

## Used in

[**IBarcodeBlock::Orientation**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/barcodeblock.md#orientation)

[**IBarcodeParams::AllowedOrientations**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/barcodeparams.md#allowedorientations)
