## FontSettingCollection类
代表[`FontSetting`](/cells/python-net/zh/aspose.cells/fontsetting)的列表。



FontSettingCollection 类型公开以下成员：

### 属性
|属性|描述|
| :- | :- |
| [text_alignment](/cells/python-net/zh/aspose.cells.drawing.texts/fontsettingcollection/text_alignment) |表示文本主体的对齐设置。|
| [text_paragraphs](/cells/python-net/zh/aspose.cells.drawing.texts/fontsettingcollection/text_paragraphs) |获取所有段落。|
| [text](/cells/python-net/zh/aspose.cells.drawing.texts/fontsettingcollection/text) |获取并设置形状的文本。|
| [html_string](/cells/python-net/zh/aspose.cells.drawing.texts/fontsettingcollection/html_string) |获取并设置包含此形状中的数据和一些格式的 html 字符串。|
| [capacity](/cells/python-net/zh/aspose.cells.drawing.texts/fontsettingcollection/capacity) |获取或设置数组列表可包含的元素数量。|


### 方法
|方法|描述|
| :- | :- |
| [`replace(self, index, count, text)`](/cells/python-net/zh/aspose.cells.drawing.texts/fontsettingcollection/replace/#int-int-str) |替换文本。|
| [`replace(self, old_value, new_value)`](/cells/python-net/zh/aspose.cells.drawing.texts/fontsettingcollection/replace/#str-str) |替换文本。|
| [`copy_to(self, array)`](/cells/python-net/zh/aspose.cells.drawing.texts/fontsettingcollection/copy_to/#list) |将整个数组列表复制到兼容的一维数组列表，从目标数组列表的开头开始。|
| [`copy_to(self, index, array, array_index, count)`](/cells/python-net/zh/aspose.cells.drawing.texts/fontsettingcollection/copy_to/#int-list-int-int) |从目标数组列表的指定索引开始，将数组列表中的一系列元素复制到兼容的一维数组列表中。|
| [`index_of(self, item, index)`](/cells/python-net/zh/aspose.cells.drawing.texts/fontsettingcollection/index_of/#aspose.cells.fontsetting-int) |搜索指定的对象并返回从指定索引延伸到最后一个元素的数组列表中元素范围内第一个出现的从零开始的索引。|
| [`index_of(self, item, index, count)`](/cells/python-net/zh/aspose.cells.drawing.texts/fontsettingcollection/index_of/#aspose.cells.fontsetting-int-int) |搜索指定的对象并返回从指定索引开始并包含指定数量元素的数组列表中元素范围内第一次出现的从零开始的索引。|
| [`last_index_of(self, item)`](/cells/python-net/zh/aspose.cells.drawing.texts/fontsettingcollection/last_index_of/#aspose.cells.fontsetting) |搜索指定的对象并返回整个数组列表中最后一次出现的从零开始的索引。|
| [`last_index_of(self, item, index)`](/cells/python-net/zh/aspose.cells.drawing.texts/fontsettingcollection/last_index_of/#aspose.cells.fontsetting-int) |搜索指定的对象并返回从第一个元素延伸到指定索引的数组列表中元素范围内的最后一个出现的从零开始的索引。|
| [`last_index_of(self, item, index, count)`](/cells/python-net/zh/aspose.cells.drawing.texts/fontsettingcollection/last_index_of/#aspose.cells.fontsetting-int-int) |搜索指定的对象并返回包含指定数量的元素并以指定索引结束的数组列表中元素范围内的最后一个出现的从零开始的索引。|
| [`set_word_art_style(self, style)`](/cells/python-net/zh/aspose.cells.drawing.texts/fontsettingcollection/set_word_art_style/#aspose.cells.drawing.presetwordartstyle) |设置预设的艺术字样式。|
| [`get_paragraph_enumerator(self)`](/cells/python-net/zh/aspose.cells.drawing.texts/fontsettingcollection/get_paragraph_enumerator/#) |获取段落的枚举器。|
| [`append_text(self, text)`](/cells/python-net/zh/aspose.cells.drawing.texts/fontsettingcollection/append_text/#str) |附加文本。|
| [`insert_text(self, index, text)`](/cells/python-net/zh/aspose.cells.drawing.texts/fontsettingcollection/insert_text/#int-str) |在该位置插入索引。|
| [`delete_text(self, index, count)`](/cells/python-net/zh/aspose.cells.drawing.texts/fontsettingcollection/delete_text/#int-int) |删除一些字符。|
| [`format(self, start_index, length, font, flag)`](/cells/python-net/zh/aspose.cells.drawing.texts/fontsettingcollection/format/#int-int-aspose.cells.font-aspose.cells.styleflag) |使用字体设置来格式化文本。|
| [`binary_search(self, item)`](/cells/python-net/zh/aspose.cells.drawing.texts/fontsettingcollection/binary_search/#aspose.cells.fontsetting) |使用默认比较器在整个排序数组列表中搜索元素，并返回该元素从零开始的索引。|



### 也可以看看
* 模块[`aspose.cells.drawing.texts`](..)
* 类 [`FontSetting`](/cells/python-net/zh/aspose.cells/fontsetting)
