> ## 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 オブジェクトの GetCharParams メソッド

このメソッドを使用すると、テキスト内の指定した文字のパラメーターにアクセスできます。

## 構文

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

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

## パラメーター

**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) オブジェクトを参照します。このオブジェクトのプロパティは、文字のパラメーターに対応する値で初期化されます。このパラメーターには有効なオブジェクトを渡す必要があります。

## 戻り値

この関数には固有の戻り値はありません。[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::SetCharParams**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/text-setcharparams.md)

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