[]
返回一个ITextRun 对象,该对象表示单元格文本中的字符范围。此方法只能在单元格的值为字符串时调用,否则将抛出InvalidOperationException 。
ITextRun Characters(int startIndex, int length)
| Type | Name | Description |
|---|---|---|
| int | startIndex | 整个单元格文本中字符的起始索引。 |
| int | length | 字符的长度。 |
| Type | Description |
|---|---|
| ITextRun | 表示字符范围的ITextRun 对象。 |