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

从指定位置开始删除当前实例中指定数量的字符。

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

| 范围 | 类型 | 描述 |
| --- | --- | --- |
| startIndex | Int32 | 起始索引。 |
| count | Int32 | 计数。 |

### 返回值

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

### 例外

| 例外 | （健康）状况 |
| --- | --- |
| ArgumentOutOfRangeException |  |

### 也可以看看

* class [RichText](../)
* 命名空间 [Aspose.Note](../../richtext/)
* 部件 [Aspose.Note](../../../)

---

## Remove(int) {#remove}

删除当前实例中的所有字符，从指定位置开始并继续到最后一个位置。

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

| 范围 | 类型 | 描述 |
| --- | --- | --- |
| startIndex | Int32 | 起始索引。 |

### 返回值

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

### 例外

| 例外 | （健康）状况 |
| --- | --- |
| ArgumentOutOfRangeException |  |

### 也可以看看

* class [RichText](../)
* 命名空间 [Aspose.Note](../../richtext/)
* 部件 [Aspose.Note](../../../)


