> ## 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 in the ABBYY FineReader Engine API — Detectable barcode orientations used by the BarcodeParams object.

BarcodeOrientationEnum enumeration constants are used to denote the types of barcode orientation that can be detected by ABBYY FineReader Engine. It is used by the [BarcodeParams](/fine-reader/engine/api-reference/parameter-objects/preprocessing-analysis-recognition-and-synthesis-parameters/barcodeparams) object.

```
typedef enum {
 BO_Unknown       = 0x00000000,
 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\\\_Autodetect          | Detect the barcode orientation automatically.                                                                                                        |
| BO\\\_Down\\\_To\\\_Top   | Barcode is oriented from down to top.                                                                                                                |
| BO\\\_Left\\\_To\\\_Right | Barcode is oriented from left to right.                                                                                                              |
| BO\\\_Right\\\_To\\\_Left | Barcode is oriented from right to left.                                                                                                              |
| BO\\\_Top\\\_To\\\_Down   | Barcode is oriented from top to down.                                                                                                                |
| BO\\\_Unknown             | Denotes unknown type of barcode orientation. It may be used as the return value if ABBYY FineReader Engine has failed to detect barcode orientation. |

## Used in

[IBarcodeParams::Orientation](/fine-reader/engine/api-reference/parameter-objects/preprocessing-analysis-recognition-and-synthesis-parameters/barcodeparams#orientation)
