> ## 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 オブジェクト (IBarcodeParams インターフェイス)

このオブジェクトを使用すると、ドキュメント内で検出されるバーコードの種類と向きを調整できます。これらのパラメーターはドキュメント定義で使用され、バーコード認識に利用されます。パラメーターを設定するには、[**BarcodeRecognitionParams**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/barcoderecognitionparams.md) オブジェクトの [**BarcodeParams**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/barcoderecognitionparams.md#barcodeparams) プロパティを使用します。認識済みバーコードのパラメーターを確認するには、[**BarcodeBlock**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/barcodeblock.md) オブジェクトのプロパティを参照してください。

## Properties

| **名前** | **型** | **説明** | |
| - | - | - | - |
| **AllowedOrientations** | [**Integer**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/propertiestypes.md) | このプロパティの値は、バーコードの向きの種類を表す [**BarcodeOrientationEnum**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/barcodeorientationenum.md) 列挙定数の OR 結合です。たとえば BO\_Left\_To\_Right | BO\_Down\_To\_Top に設定すると、ABBYY FlexiCapture SDK はバーコードブロックの向きが左から右、または下から上のいずれかであるとみなし、それ以外の向きはすべて無視します。 |
| **AllowedTypes** | [**Integer**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/propertiestypes.md) | このプロパティの値は、バーコードの種類を表す [**BarcodeTypeEnum**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/barcodetypeenum.md) 列挙定数の OR 結合です。たとえば BT\_EAN13 | BT\_EAN8 に設定すると、ABBYY FlexiCapture SDK はバーコードブロックを [EAN 13 または EAN 8](https://docs.abbyy.com/ja/flexi-capture/sdk/specifications/barcodetypes.md#ean813) 規格のいずれかとして認識しようとし、それ以外の種類はすべて無視します。 |

## メソッド

| **名前** | **説明** |
| - | - |
| [**CopyFrom**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/copyfrom.md) | 現在のオブジェクトのプロパティを、別のオブジェクトの同様のプロパティの値で初期化します。 |

## 関連オブジェクト

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

## 出力パラメーター

このオブジェクトは、[**Engine**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/engine.md) オブジェクトの [**CreateBarcodeParams**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/engine-createxxx.md) メソッドの出力パラメーターです。

## 関連項目

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

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

[バーコードの種類](https://docs.abbyy.com/ja/flexi-capture/sdk/specifications/barcodetypes.md)

[Properties の操作](https://docs.abbyy.com/ja/flexi-capture/sdk/guided-tour/properties.md)
