> ## 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

Les constantes d’énumération **BarcodeOrientationEnum** désignent les différents types d’orientation du code-barres.

```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;
```

## Éléments

| **Name** | **Description** |
| - | - |
| BO\_Unknown | Indique un type d'orientation du code-barres inconnu. Peut servir de valeur de retour si ABBYY FlexiCapture SDK n'a pas réussi à détecter l'orientation du code-barres. |
| BO\_Left\_To\_Right | Le code-barres est orienté de gauche à droite. |
| BO\_Down\_To\_Top | Le code-barres est orienté de bas en haut. |
| BO\_Right\_To\_Left | Le code-barres est orienté de droite à gauche. |
| BO\_Top\_To\_Down | Le code-barres est orienté de haut en bas. |
| BO\_Autodetect | Détecter automatiquement l'orientation du code-barres. |

## Utilisé dans

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

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