> ## 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 Object (IText Interface)

This object represents a recognized text. The object exposes properties for accessing different text attributes and methods allowing operations upon it. The **Text** object exists as a subobject of some other object representing a unit of layout (text block, table cell, etc.).

## Properties

| **Name** | **Type** | **Description** |
| - | - | - |
| **DefaultCharParams** | [**CharParams**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/charparams.md) | Stores the default character parameters. The parameters can be changed for individual characters, while the parameters specified by this property are used by default. |
| **Length** | [**Integer**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/propertiestypes.md), read-only | Specifies the length of the text. |
| **PlainText** | [**String**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/propertiestypes.md), read-only | Stores the plain text. In the plain text all special characters are replaced with spaces. |
| **RecognizedWordsCount** | [**Integer**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/propertiestypes.md), read-only | Specifies the number of recognized words in the text. Please note that a word is a fragment of text separated for the purposes of recognition and not necessarily a word in the linguistic sense. **Important!** This property is part of recognition variants API. If you intend to use it, enable recognition variants saving by a call to the [**EnableRecognitionVariants**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/engine-enablerecognitionvariants.md) method of the [**Engine**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/engine.md) object before recognition. Otherwise the value of **RecognizedWordsCount** will be 0. |
| **Text** | [**String**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/propertiestypes.md), read-only | Stores the text. |

## Methods

| **Name** | **Description** |
| - | - |
| [**Delete**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/text-delete.md) | Removes a range from the current text. |
| [**GetCharParams**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/text-getcharparams.md) | Provides access to the parameters of the specified character in the text. |
| [**GetCharParamsEx**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/text-getcharparamsex.md) | Provides access to the extended recognition information for the character at the specified position in the text. Using this method you can quickly access the main recognition variant of the character (the one which is used in the resulting text). |
| [**GetRecognizedWord**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/text-getrecognizedword.md) | Provides access to the specified recognition variant of the selected word in the text. |
| [**Insert**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/text-insert.md) | Inserts new text into the current text. |
| [**NextGroup**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/text-nextgroup.md) | Finds the next character in the text, which has the selected parameters different from such parameters of the character specified. This method can be used to find all uncertainly recognized characters, etc. |
| [**SetCharParams**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/text-setcharparams.md) | Sets parameters of the specified character in the text. |

## Related objects

![](https://mintcdn.com/abbyy/DG4YBah30S0eFFo5/images/flexi-capture/sdk/Text.gif?s=cc7b70d669e6fcd0ec26dd4888e1df6c)

## Output parameter

This object is the output parameter of the following methods and properties:

* [**CreateText**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/engine-createtext.md) method of the [**Engine**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/engine.md) object
* [**Text**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/textregion.md#text) property of the [**TextRegion**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/textregion.md) object

## See also

[Working with Recognized Data](https://docs.abbyy.com/flexi-capture/sdk/guided-tour/workingwithrecognizeddata.md)

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

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

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

[Working with Properties](https://docs.abbyy.com/flexi-capture/sdk/guided-tour/properties.md)
