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

# InsertTab Method of the Paragraph Object

This method inserts a tab stop into the chosen text position.

## Syntax

### C++

```cpp theme={null}
HRESULT InsertTab(
  int           Position,
  ITabPosition* Tabulation,
  ICharParams*  Params
);
```

### C\#

```csharp theme={null}
void InsertTab(
  int          Position,
  ITabPosition Tabulation,
  ICharParams  Params
);
```

### Visual Basic .NET

```vb theme={null}
Sub InsertTab( _
  Position As Integer, _
  Tabulation As ITabPosition, _
  Params As ICharParams _
)
```

## Parameters

Position

\[in] Position where the paragraph is to be divided. Must be not less than 0 and not greater than the length of the paragraph.

Tabulation

\[in] This variable refers to the [TabPosition](/fine-reader/engine/api-reference/text-related-objects/tabposition) object that represents the properties of the tab stop to be added: the tab symbol type, its alignment, and position in the paragraph. This parameter must not be 0.

Params

\[in] This variable refers to the [CharParams](/fine-reader/engine/api-reference/text-related-objects/charparams) object that contains attributes for all characters of the newly created paragraph. This parameter may be 0, in which case the default character parameters are used.

## Return values

This method has no specific return values. It returns the [standard return values of ABBYY FineReader Engine functions](/fine-reader/engine/api-reference/return-codes).

## See also

[Paragraph](/fine-reader/engine/api-reference/text-related-objects/paragraph)

[CharParams](/fine-reader/engine/api-reference/text-related-objects/charparams)
