##  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/ar/aspose.cells.drawing.texts/fontsettingcollection)
