## Insert(int, string) {#insert}

Belirtilen dizini bu örnekte belirtilen dizin konumuna ekler.

```csharp
public RichText Insert(int startIndex, string value)
```

| Parametre | Tip | Tanım |
| --- | --- | --- |
| startIndex | Int32 | Başlangıç dizini. |
| value | String | Değer. |

### Geri dönüş değeri

[`RichText`](../) .

### istisnalar

| istisna | şart |
| --- | --- |
| ArgumentOutOfRangeException |  |

### Ayrıca bakınız

* class [RichText](../)
* ad alanı [Aspose.Note](../../richtext/)
* toplantı [Aspose.Note](../../../)

---

## Insert(int, string, TextStyle) {#insert_1}

Bu örnekte belirtilen dizin konumuna belirtilen stilde belirtilen bir dize ekler.

```csharp
public RichText Insert(int startIndex, string value, TextStyle style)
```

| Parametre | Tip | Tanım |
| --- | --- | --- |
| startIndex | Int32 | Başlangıç dizini. |
| value | String | Değer. |
| style | TextStyle | Stil. |

### Geri dönüş değeri

[`RichText`](../) .

### istisnalar

| istisna | şart |
| --- | --- |
| ArgumentOutOfRangeException |  |

### Ayrıca bakınız

* class [TextStyle](../../textstyle/)
* class [RichText](../)
* ad alanı [Aspose.Note](../../richtext/)
* toplantı [Aspose.Note](../../../)


