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

# BarcodeParams Object (IBarcodeParams Interface)

This object allows you to tune type and orientation of the barcode which can be found in the document. These parameters are used in Document Definitions and served for barcode recognition. To set the parameters, use the [**BarcodeParams**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/barcoderecognitionparams.md#barcodeparams) property of the [**BarcodeRecognitionParams**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/barcoderecognitionparams.md) object. To view the parameters of recognized barcode, see the properties of the [**BarcodeBlock**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/barcodeblock.md) object.

## Properties

| **Name** | **Type** | **Description** |
| - | - | - |
| **AllowedOrientations** | [**Integer**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/propertiestypes.md) | The value of this property is an OR superposition of the [**BarcodeOrientationEnum**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/barcodeorientationenum.md) enumeration constants which denote the types of barcode orientation. For example, if it is set to BO\_Left\_To\_Right \| BO\_Down\_To\_Top, ABBYY FlexiCapture SDK will presume that barcode blocks may be oriented either from left to right or from down to top, ignoring all other variants. |
| **AllowedTypes** | [**Integer**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/propertiestypes.md) | The value of this property is an OR superposition of the [**BarcodeTypeEnum**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/barcodetypeenum.md) enumeration constants which denote the types of barcode. For example, if it is set to BT\_EAN13 \| BT\_EAN8, ABBYY FlexiCapture SDK will try to recognize barcode blocks in either [EAN 13 or EAN 8](https://docs.abbyy.com/flexi-capture/sdk/specifications/barcodetypes.md#ean813) standard, ignoring all other variants. |

## Methods

| **Name** | **Description** |
| - | - |
| [**CopyFrom**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/copyfrom.md) | Initializes properties of the current object with values of similar properties of another object. |

## Related objects

![](https://mintcdn.com/abbyy/89WLEbAVqQ-ysQEU/images/flexi-capture/sdk/BarcodeParams.gif?s=3903d73c228b6fb83e5a372c574246f3)

## Output parameter

The object is the output parameter of the [**CreateBarcodeParams**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/engine-createxxx.md) method of the [**Engine**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/engine.md) object.

## See also

[**BarcodeRecognitionParams**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/barcoderecognitionparams.md)

[**RecognitionParams**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/recognitionparams.md)

[Barcode Types](https://docs.abbyy.com/flexi-capture/sdk/specifications/barcodetypes.md)

[Working with Properties](https://docs.abbyy.com/flexi-capture/sdk/guided-tour/properties.md)
