RichText.Insert
Contents
[
Hide
]Insert(int, string)
Inserts a specified string at a specified index position in this instance.
public RichText Insert(int startIndex, string value)
Parameter | Type | Description |
---|---|---|
startIndex | Int32 | The start index. |
value | String | The value. |
Return Value
The RichText
.
Exceptions
exception | condition |
---|---|
ArgumentOutOfRangeException |
See Also
- class RichText
- namespace Aspose.Note
- assembly Aspose.Note
Insert(int, string, TextStyle)
Inserts a specified string with specified style at a specified index position in this instance.
public RichText Insert(int startIndex, string value, TextStyle style)
Parameter | Type | Description |
---|---|---|
startIndex | Int32 | The start index. |
value | String | The value. |
style | TextStyle | The style. |
Return Value
The RichText
.
Exceptions
exception | condition |
---|---|
ArgumentOutOfRangeException |
See Also
- class TextStyle
- class RichText
- namespace Aspose.Note
- assembly Aspose.Note