[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.Drawing.ITextRange.Add

Add Method

Add(string, int)

将文本添加到指定的集合中。

Declaration
ITextRange Add(string newText = "", int position = -1)
Parameters
Type Name Description
string newText

新的文本。

int position

您想要插入的位置。

Returns
Type Description
ITextRange

新的ITextRange

Remarks

此属性仅用于TextRangeType .Body 和 TextRangeType .Paragraph。 在ITextRange .Body 上使用此属性,它将添加一个带有运行符的段落。 在ITextRange .Paragraph 上使用此属性,它将添加一个运行符。