
## replace_text(text, replace_text) {#str-str}

Replace the text string of a shape .



```python
def replace_text(self, text, replace_text):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| text | str |  |
| replace_text | str |  |



### See Also
* module [aspose.diagram](../../)
* class [Shape](/diagram/python-net/aspose.diagram/shape)
