[]
将文本添加到指定的集合中。
ITextRange Add(string newText = "", int position = -1)
| Type | Name | Description |
|---|---|---|
| string | newText | 新的文本。 |
| int | position | 您想要插入的位置。 |
| Type | Description |
|---|---|
| ITextRange | 新的ITextRange 。 |
此属性仅用于TextRangeType .Body 和 TextRangeType .Paragraph。 在ITextRange .Body 上使用此属性,它将添加一个带有运行符的段落。 在ITextRange .Paragraph 上使用此属性,它将添加一个运行符。