RichText.Insert
Insert(int, string)
Infogar en specificerad sträng vid en angiven indexposition i den här instansen.
public RichText Insert(int startIndex, string value)
| Parameter | Typ | Beskrivning |
|---|---|---|
| startIndex | Int32 | Startindex. |
| value | String | Värdet. |
Returvärde
DenRichText .
Undantag
| undantag | skick |
|---|---|
| ArgumentOutOfRangeException |
Se även
- class RichText
- namnutrymme Aspose.Note
- hopsättning Aspose.Note
Insert(int, string, TextStyle)
Infogar en specificerad sträng med specificerad stil vid en angiven indexposition i denna instans.
public RichText Insert(int startIndex, string value, TextStyle style)
| Parameter | Typ | Beskrivning |
|---|---|---|
| startIndex | Int32 | Startindex. |
| value | String | Värdet. |
| style | TextStyle | Stilen. |
Returvärde
DenRichText .
Undantag
| undantag | skick |
|---|---|
| ArgumentOutOfRangeException |
Se även
- class TextStyle
- class RichText
- namnutrymme Aspose.Note
- hopsättning Aspose.Note