[]
com.grapecity.documents.excel.IShape中的文本框。add()voiddelete()get(int index) ITextRange。intgetCount()getFont()IFontFormat对象字符格式的IFontFormat对象。intgetIndex()ITextRange的段落。getRuns()ITextRange的运行getText()getType()ITextRange 的类型。voidvoidsetTextAlignment(TextAlignmentAnchor textAlignment) IFontFormat对象字符格式的IFontFormat对象。ITextRange的段落。此方法仅在TextRangeType.Body中使用;否则,它会抛出InvalidOperateExecption异常。
ITextRange的运行此方法仅在TextRangeType.Paragraph中使用;否则,它会抛出InvalidOperateExecption异常。
ITextRange。index - 索引。ITextRangeITextRange 的类型。newText - 新文本。ITextRange。此属性仅在Body和Paragraph中使用。在Body上使用此属性,它将添加一个带有运行段的段落。在Paragraph上使用此属性,它将添加一个运行。newText - 新文本。position - 您想要插入的位置。ITextRange。此属性仅在正文和段落中使用。在正文中使用此属性,它将添加一个带有运行符的段落。在段落中使用此属性,它将添加一个运行符。