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

# GetCharParams Method of the Text Object

This method provides access to the parameters of the specified character in the text.

## Syntax

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

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

## Parameters

**Pos**

\[in] Specifies the index of the character inside the text. This index must be in the range from 0 to the length of the text. The length of the text may be obtained from the [**IText::Length**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/text.md#length) property. When the length of the text is passed into this method, this property refers to the parameters that would have received a character if it was inserted at the end of the text.

**Params**

\[in] Refers to the [**CharParams**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/charparams.md) object. This object properties are initialized with values corresponding to parameters of the character. A valid object should be passed as this parameter.

## Return values

This function has no specific return values. It returns the [standard return values of ABBYY FlexiCapture SDK functions](https://docs.abbyy.com/flexi-capture/sdk/api-reference/errorcodes.md).

## See also

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

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

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

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