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

# FieldValueTypeEnum

**FieldValueTypeEnum** の列挙定数は、フィールド値の各種の型を定義します。

```cpp theme={null}
typedef enum {
 FVT_None,
 FVT_Text,
 FVT_DateTime,
 FVT_Number,
 FVT_Picture,
 FVT_Boolean,
 FVT_Choice,
 FVT_Currency
} FieldValueTypeEnum;
```

## 要素

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

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

  <tbody>
    <tr>
      <td>
        FVT\_None
      </td>

      <td>
        未定義の型。
      </td>
    </tr>

    <tr>
      <td>
        FVT\_Text
      </td>

      <td>
        テキスト。認識済みの値は次の方法で取得できます。

        <ul>
          <li>
            &#x20;

            [**IFieldValue::AsText**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/fieldvalue.md#astext)

            &#x20;

            プロパティを使用して&#x20;

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

            &#x20;

            オブジェクトとして取得
          </li>

          <li>
            &#x20;

            [**IFieldValue::AsString**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/fieldvalue.md#asstring)

            &#x20;

            プロパティを使用して String として取得
          </li>
        </ul>
      </td>
    </tr>

    <tr>
      <td>
        FVT\_DateTime
      </td>

      <td>
        日付と時刻。認識済みの値は次の形式で取得できます。

        <ul>
          <li>
            DATE 型:&#x20;

            [**IFieldValue::AsDateTime**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/fieldvalue.md#asdatetime)

            &#x20;

            プロパティを使用
          </li>

          <li>
            &#x20;

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

            &#x20;

            オブジェクト:&#x20;

            [**IFieldValue::AsText**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/fieldvalue.md#astext)

            &#x20;

            プロパティを使用
          </li>

          <li>
            String 型:&#x20;

            [**IFieldValue::AsString**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/fieldvalue.md#asstring)

            &#x20;

            プロパティを使用
          </li>
        </ul>
      </td>
    </tr>

    <tr>
      <td>
        FVT\_Number
      </td>

      <td>
        数値。認識済みの値は次の方法で取得できます。

        <ul>
          <li>
            Double として取得：&#x20;

            [**IFieldValue::AsDouble**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/fieldvalue.md#asdouble)

            &#x20;

            プロパティを使用
          </li>

          <li>
            Integer として取得：&#x20;

            [**IFieldValue::AsInteger**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/fieldvalue.md#asinteger)

            &#x20;

            プロパティを使用
          </li>

          <li>
            &#x20;

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

            &#x20;

            オブジェクトとして取得：&#x20;

            [**IFieldValue::AsText**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/fieldvalue.md#astext)

            &#x20;

            プロパティを使用
          </li>

          <li>
            String として取得：&#x20;

            [**IFieldValue::AsString**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/fieldvalue.md#asstring)

            &#x20;

            プロパティを使用
          </li>
        </ul>
      </td>
    </tr>

    <tr>
      <td>
        FVT\_Picture
      </td>

      <td>
        画像。認識済みの値は、&#x20;

        [**IFieldValue::AsPicture**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/fieldvalue.md#aspicture)

        &#x20;

        プロパティを使用して&#x20;

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

        &#x20;

        オブジェクトとして取得できます。
      </td>
    </tr>

    <tr>
      <td>
        FVT\_Boolean
      </td>

      <td>
        ブール型の値。認識済みの値は、次の方法で取得できます。

        <ul>
          <li>
            ブール型として取得する場合は、&#x20;

            [**IFieldValue::AsBoolean**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/fieldvalue.md#asboolean)

            &#x20;

            プロパティを使用します
          </li>

          <li>
            string として取得する場合は、&#x20;

            [**IFieldValue::AsString**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/fieldvalue.md#asstring)

            &#x20;

            プロパティを使用します。返される文字列には、ローカライズされた「はい」または「いいえ」が含まれます。
          </li>
        </ul>
      </td>
    </tr>

    <tr>
      <td>
        FVT\_Choice
      </td>

      <td>
        選択肢の値です。認識済みの値は、次のいずれかの方法で取得できます。

        <ul>
          <li>
            &#x20;

            [**IFieldValue::AsChoice**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/fieldvalue.md#aschoice)

            &#x20;

            プロパティを使用して、&#x20;

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

            &#x20;

            オブジェクトとして取得する。
          </li>

          <li>
            &#x20;

            [**IFieldValue::AsString**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/fieldvalue.md#asstring)

            &#x20;

            プロパティを使用して、String として取得する。返される string には、選択された選択肢の値が格納されます。
          </li>
        </ul>
      </td>
    </tr>

    <tr>
      <td>
        FVT\_Currency
      </td>

      <td>
        通貨値。認識済みの値は次の方法で取得できます：

        <ul>
          <li>
            &#x20;

            [**IFieldValue::AsText**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/fieldvalue.md#astext)

            &#x20;

            プロパティを使用して&#x20;

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

            &#x20;

            オブジェクトとして取得
          </li>

          <li>
            &#x20;

            [**IFieldValue::AsString**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/fieldvalue.md#asstring)

            &#x20;

            プロパティを使用して String として取得
          </li>
        </ul>
      </td>
    </tr>
  </tbody>
</table>

## 使用箇所

[**IFieldValue::Type**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/fieldvalue.md#type)

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

[**ITextRecognitionParams::CreateEmbeddedLanguageByDataType**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/textrecognitionparams-createembeddedlanguagebydatatype.md)
