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

# FieldDefinition オブジェクト (IFieldDefinition インターフェイス)

このオブジェクトは、Document Definition の field に対応します。Document Definition の field は、データ抽出のための要素です。field には、単純なもの (内部構造を持たないもの) と複合的なものがあります。複合的な field の例としてはテーブルフィールドが挙げられ、その各セルはテーブル内の個別の下位 field と見なすことができます。

## Properties

<table width="100%">
  <thead>
    <tr>
      <th>
        **名前**
      </th>

      <th>
        **型**
      </th>

      <th>
        **説明**
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        **CanHaveRegion**
      </td>

      <td>
        [**ブール型**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/propertiestypes.md)
      </td>

      <td>
        field が領域を持てるかどうかを指定します。たとえば、値を他の field の値から算出する場合などは、領域のない field を作成できます。

        &#x20;

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

        &#x20;

        オブジェクトの&#x20;

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

        &#x20;

        メソッドで追加した field 定義では、このプロパティのデフォルト値は TRUE です。
      </td>
    </tr>

    <tr>
      <td>
        **Caption**
      </td>

      <td>
        [**String**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/propertiestypes.md)

        、読み取り専用
      </td>

      <td>
        field の名前を返します。この名前は、ABBYY FlexiCapture のドキュメントウィンドウで field のキャプションとして表示されます。このプロパティは列名のカスタマイズに役立ちます。特に、
        field の名前を変更できない flexible 記述を使用する場合に便利です。
      </td>
    </tr>

    <tr>
      <td>
        **Children**
      </td>

      <td>
        [**FieldDefinitions**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/fielddefinitions.md)

        、[読み取り専用](https://docs.abbyy.com/ja/flexi-capture/sdk/guided-tour/properties.md#readonly-properties)
      </td>

      <td>
        複合 field の子 field のコレクションを返します。
      </td>
    </tr>

    <tr>
      <td>
        **DocumentDefinition**
      </td>

      <td>
        [**DocumentDefinition**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/documentdefinition.md)

        、[読み取り専用](https://docs.abbyy.com/ja/flexi-capture/sdk/guided-tour/properties.md#readonly-properties)
      </td>

      <td>
        この field を含む Document Definition にアクセスできます。
      </td>
    </tr>

    <tr>
      <td>
        **Id**
      </td>

      <td>
        [**Integer**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/propertiestypes.md)

        、読み取り専用
      </td>

      <td>
        文書定義フィールドの識別子を返します。
      </td>
    </tr>

    <tr>
      <td>
        **IsCalculable**
      </td>

      <td>
        [**ブール型**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/propertiestypes.md)

        、読み取り専用
      </td>

      <td>
        ルールを使用して field 値を自動計算するかどうかを指定します。
      </td>
    </tr>

    <tr>
      <td>
        **IsDisabled**
      </td>

      <td>
        [**ブール型**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/propertiestypes.md)

        、読み取り専用
      </td>

      <td>
        field が無効かどうかを示します。このプロパティの値が TRUE の場合、この field は Document Definition の適用時に使用されません。
      </td>
    </tr>

    <tr>
      <td>
        **IsManuallyEntered**
      </td>

      <td>
        [**ブール型**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/propertiestypes.md)

        、読み取り専用
      </td>

      <td>
        fieldをドキュメント内で検出するが認識は行わないかどうかを指定します。このプロパティの値が TRUE の場合、オペレーターが値を手動で入力する必要があります。
      </td>
    </tr>

    <tr>
      <td>
        **IsReadOnly**
      </td>

      <td>
        [**ブール型**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/propertiestypes.md)

        、読み取り専用
      </td>

      <td>
        fieldを表示のみ可能にするかどうかを指定します。
      </td>
    </tr>

    <tr>
      <td>
        **IsRepeatable**
      </td>

      <td>
        [**ブール型**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/propertiestypes.md)
      </td>

      <td>
        field を親の中で繰り返せるかどうか、つまり Document Definition の適用後に、対応する複数の [field インスタンス](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/fieldinstances.md)がドキュメント内に出現する可能性があるかどうかを示します。

        このプロパティは、次の field タイプで使用できます：FT\_Checkmark、FT\_PictureField、FT\_Group、FT\_TextField。このプロパティのデフォルト値は FALSE です。
      </td>
    </tr>

    <tr>
      <td>
        **IsRequired**
      </td>

      <td>
        [**Boolean**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/propertiestypes.md)

        、読み取り専用
      </td>

      <td>
        fieldが必須かどうかを指定します。Document Definitionの適用時にドキュメント内でfieldが見つからない場合は、エラーが発生します。
      </td>
    </tr>

    <tr>
      <td>
        **IsVisible**
      </td>

      <td>
        [**ブール型**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/propertiestypes.md)

        、読み取り専用
      </td>

      <td>
        field を表示するかどうかを指定します。このプロパティの値が TRUE の場合、field は ABBYY FlexiCapture のドキュメントウィンドウに表示されます。
      </td>
    </tr>

    <tr>
      <td>
        **MarkFieldValueForVerification**
      </td>

      <td>
        [**FieldValueVerificationEnum**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/fieldvalueverificationenum.md)

        、読み取り専用
      </td>

      <td>
        field 値を検証に送る条件を指定します。
      </td>
    </tr>

    <tr>
      <td>
        **Name**
      </td>

      <td>
        [**String**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/propertiestypes.md)

        、読み取り専用
      </td>

      <td>
        fieldの名前を返します。

        **注:** fieldの名前にスペースを含めることはできません。スペースが含まれている場合、学習できなくなります。
      </td>
    </tr>

    <tr>
      <td>
        **Parent**
      </td>

      <td>
        [**FieldDefinition**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/fielddefinition.md)

        、[読み取り専用](https://docs.abbyy.com/ja/flexi-capture/sdk/guided-tour/properties.md#readonly-properties)
      </td>

      <td>
        親 field を返します。
      </td>
    </tr>

    <tr>
      <td>
        **RecognitionParams**
      </td>

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

        、[読み取り専用](https://docs.abbyy.com/ja/flexi-capture/sdk/guided-tour/properties.md#readonly-properties)
      </td>

      <td>
        fieldの認識パラメーターを格納します。
      </td>
    </tr>

    <tr>
      <td>
        **Type**
      </td>

      <td>
        [**FieldTypeEnum**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/fieldtypeenum.md)

        、読み取り専用
      </td>

      <td>
        fieldの型を返します。
      </td>
    </tr>

    <tr>
      <td>
        **ValueType**
      </td>

      <td>
        [**FieldValueTypeEnum**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/fieldvaluetypeenum.md)
      </td>

      <td>
        field 値の型を指定します。

        **注:** field 値の型は変更できますが、変更できるのは次のプロパティ値の間に限られます。

        <ul>
          <li>FVT\_Text</li>
          <li>FVT\_DateTime</li>
          <li>FVT\_Number</li>
          <li>FVT\_Currency</li>
        </ul>

        上記以外の field 値の型は変更できません。
      </td>
    </tr>
  </tbody>
</table>

## 関連オブジェクト

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

## 出力パラメーター

このオブジェクトは、[**FieldDefinitions**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/fielddefinitions.md) オブジェクトの [**Item**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/item.md) メソッドおよび [**AddNew**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/fielddefinitions-addnew.md) メソッドの出力パラメーターです。

## 入力パラメーター

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

## サンプル

このメソッドは、次のコード サンプルで使用されています：[請求書の処理と学習](https://docs.abbyy.com/ja/flexi-capture/sdk/guided-tour/samples.md#invoicesprocessingandtraining)

## 関連項目

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

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