##  replace(self, old_value, new_value) {#str-str}
Заменить текст.



```python

def replace(self, old_value, new_value):
    ...
```


| Параметр| Тип| Описание|
| :- | :- | :- |
| old_value | str | Старый текст.|
| new_value | str | Новый текст.|


##  replace(self, index, count, text) {#int-int-str}
Заменить текст.



```python

def replace(self, index, count, text):
    ...
```


| Параметр| Тип| Описание|
| :- | :- | :- |
| index | int | Начальный индекс.|
| count | int | Количество символов.|
| text | str | Текст.|



###  Смотрите также
* модуль [`aspose.cells.drawing.texts`](../../)
* класс [`FontSettingCollection`](/cells/python-net/ru/aspose.cells.drawing.texts/fontsettingcollection)
