## Remove(int, int) {#remove_1}

Tar bort specificerat antal tecken i den aktuella instansen som börjar på en angiven position.

```csharp
public RichText Remove(int startIndex, int count)
```

| Parameter | Typ | Beskrivning |
| --- | --- | --- |
| startIndex | Int32 | Startindex. |
| count | Int32 | Antalet. |

### Returvärde

Den[`RichText`](../) .

### Undantag

| undantag | skick |
| --- | --- |
| ArgumentOutOfRangeException |  |

### Se även

* class [RichText](../)
* namnutrymme [Aspose.Note](../../richtext/)
* hopsättning [Aspose.Note](../../../)

---

## Remove(int) {#remove}

Tar bort alla tecken i den aktuella instansen, börjar på en angiven position och fortsätter genom den sista positionen.

```csharp
public RichText Remove(int startIndex)
```

| Parameter | Typ | Beskrivning |
| --- | --- | --- |
| startIndex | Int32 | Startindex. |

### Returvärde

Den[`RichText`](../) .

### Undantag

| undantag | skick |
| --- | --- |
| ArgumentOutOfRangeException |  |

### Se även

* class [RichText](../)
* namnutrymme [Aspose.Note](../../richtext/)
* hopsättning [Aspose.Note](../../../)


