
## replace(self, old_value, new_value) {#System.String-System.String}

Replace the text.



```python

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


| Parameter | Type | Description |
| :- | :- | :- |
| old_value | System.String | The old text. |
| new_value | System.String | The new text. |


## replace(self, index, count, text) {#int-int-System.String}

Replace the text.



```python

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


| Parameter | Type | Description |
| :- | :- | :- |
| index | int | The start index. |
| count | int | The count of characters. |
| text | System.String | The text. |



### See Also
* module [`aspose.cells.drawing.texts`](../../)
* class [`FontSettingCollection`](/cells/python-net/aspose.cells.drawing.texts/fontsettingcollection)
