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

# Text オブジェクトの GetCharParamsEx メソッド

このメソッドを使用すると、テキスト内の指定した位置にある文字の拡張認識情報にアクセスできます。また、その文字のメインの認識候補 (結果テキストで使用される候補) にすばやくアクセスすることもできます。

## 構文

```vb Visual Basic .NET theme={null}
Sub GetCharParamsEx( _
  Pos As Integer, _
  Params As CharParams _
  ParamsEx As RecognizedCharacterInfo _
)
```

```cpp C++ theme={null}
HRESULT GetCharParamsEx(
   int                       Pos,
   ICharParams*              Params
   IRecognizedCharacterInfo* ParamsEx
);
```

## パラメーター

**Pos**

\[in] テキスト内の文字のインデックスを指定します。このインデックスは、0 からテキストの長さ ([**IText::Length**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/text.md#length)) までの範囲内である必要があります。このメソッドにテキストの長さを渡した場合、このプロパティは、テキストの末尾に文字を挿入したと仮定したときにその文字が持つパラメーターを参照します。

**Params**

\[in] [**CharParams**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/charparams.md) オブジェクトを参照します。このオブジェクトのプロパティは、文字のパラメーターに対応する値で初期化されます。このパラメーターには有効なオブジェクトを渡す必要があります。

**ParamsEx**

\[in] [**RecognizedCharacterInfo**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/recognizedcharacterinfo.md) オブジェクトを参照します。このオブジェクトのプロパティは、文字の主候補のパラメーターに対応する値で初期化されます。このパラメーターには有効なオブジェクトを渡す必要があります。

## 戻り値

この関数には固有の戻り値はありません。[ABBYY FlexiCapture SDK 関数の標準の戻り値](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/errorcodes.md)を返します。

## 関連項目

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

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

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