RichText.Insert
Insert(int, string)
在此实例的指定索引位置插入指定的字符串。
public RichText Insert(int startIndex, string value)
| 参数 | 类型 | 描述 |
|---|---|---|
| startIndex | Int32 | 起始索引。 |
| value | String | 该值。 |
返回值
该 RichText。
异常
| 异常 | 条件 |
|---|---|
| ArgumentOutOfRangeException |
另请参阅
- class RichText
- namespace Aspose.Note
- assembly Aspose.Note
Insert(int, string, TextStyle)
在此实例的指定索引位置插入具有指定样式的指定字符串。
public RichText Insert(int startIndex, string value, TextStyle style)
| 参数 | 类型 | 描述 |
|---|---|---|
| startIndex | Int32 | 起始索引。 |
| value | String | 该值。 |
| style | TextStyle | 样式。 |
返回值
该 RichText。
异常
| 异常 | 条件 |
|---|---|
| ArgumentOutOfRangeException |
另请参阅
- class TextStyle
- class RichText
- namespace Aspose.Note
- assembly Aspose.Note