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

# Insert Method of the Paragraph Object

This method inserts a string into the text of the paragraph.

## Syntax

### C++

```cpp theme={null}
HRESULT Insert(
  int          Position,
  BSTR         String,
  ICharParams* Params
);
```

### C\#

```csharp theme={null}
void Insert(
  int        Position,
  string     String,
  ICharParams Params
);
```

### Visual Basic .NET

```vb theme={null}
Sub Insert( _
  Position As Integer, _
  String As String, _
  Params As ICharParams _
)
```

## Parameters

Position

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

String

\[in] Specifies the string to be inserted. This string may contain the object replacement characters (Unicode 0xFFFC). The object replacement character denotes an embedded picture.

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 inserted string. 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).

## Remarks

A paragraph break symbol and a tabulation cannot be inserted into the paragraph using this method. Use the [InsertParagraphBreak](/fine-reader/engine/api-reference/text-related-objects/paragraph/insertparagraphbreak-method) method to insert a paragraph break symbol, and the [InsertTab](/fine-reader/engine/api-reference/text-related-objects/paragraph/inserttab-method) method to insert a tabulation.

## See also

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

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