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

# Barcode

> Specify Barcode element properties in the FlexiLayout language: barcode type, reading orientation, and parts allowed outside the search area.

The **Barcode** element supports the following parameters in the FlexiLayout language.

## Barcode parameters

| Parameter                                 | Description                                                                                                                                                                                                                            |
| ----------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `Void Type( BarcodeTypes )`               | See [**Barcode**](/flexi-capture/fls/template/barcode), **Barcode Type**.                                                                                                                                                              |
| `Void Orientation( BarcodeOrientations )` | See [**Barcode**](/flexi-capture/fls/template/barcode), **Orientation**.                                                                                                                                                               |
| `Void MaxXOutsidePart( Real )`            | Specifies the part of the object that may extend beyond the search area horizontally. May assume values from `0` to `1`. Those objects are included in the hypothesis that have the specified or smaller part outside the search area. |
| `Void MaxYOutsidePart( Real )`            | Specifies the part of the object that may extend beyond the search area vertically. May assume values from `0` to `1`. Those objects are included in the hypothesis that have the specified or smaller part outside the search area.   |

## Barcode examples

The following code specifies that the barcode is of the Interleaved 25 type.

```text theme={null}
Type: BarcodeType_Interleaved25;
```

The following code specifies that the barcode must be read left to right.

```text theme={null}
Orientation: BarcodeOrientation_LeftToRight;
```
