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

Removes specified number of characters in the current instance beginning at a specified position.

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

| Parameter | Type | Description |
| --- | --- | --- |
| startIndex | Int32 | The start index. |
| count | Int32 | The count. |

### Return Value

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

### Exceptions

| exception | condition |
| --- | --- |
| ArgumentOutOfRangeException |  |

### See Also

* class [RichText](../)
* namespace [Aspose.Note](../../richtext/)
* assembly [Aspose.Note](../../../)

---

## Remove(int) {#remove}

Removes all the characters in the current instance, beginning at a specified position and continuing through the last position.

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

| Parameter | Type | Description |
| --- | --- | --- |
| startIndex | Int32 | The start index. |

### Return Value

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

### Exceptions

| exception | condition |
| --- | --- |
| ArgumentOutOfRangeException |  |

### See Also

* class [RichText](../)
* namespace [Aspose.Note](../../richtext/)
* assembly [Aspose.Note](../../../)


