##  characters(self, start_index, length) {#int-int}
返回一个 Characters 对象，该对象代表单元格文本中的 characters 范围。


### 返回

人物对象。


```python

def characters(self, start_index, length):
    ...
```


|范围|类型|描述|
| :- | :- | :- |
| start_index | int |字符开始的索引。|
| length | int |字符数。|
### 注意事项

此方法仅适用于具有字符串值的单元格。
### 例子


```python
from aspose.cells import Workbook
from aspose.pydrawing import Color

excel = Workbook()
cells = excel.worksheets[0].cells
cells.get("A1").put_value("Helloworld")
cells.get("A1").characters(5, 5).font.is_bold = True
cells.get("A1").characters(5, 5).font.color = Color.blue

```



### 也可以看看
* 模块[`aspose.cells`](../../)
* 类 [`Cell`](/cells/python-net/zh/aspose.cells/cell)
