replace_text method
replace_text
Replaces all occurrences of the specified text with another specified text.
def replace_text(self, old_text, new_text, options, callback):
...
Parameter | Type | Description |
---|---|---|
old_text | str | The string to be replaced. |
new_text | str | The string to replace all occurrences of oldText. |
options | ITextSearchOptions | Text search options ITextSearchOptions . |
callback | IFindResultCallback | Callback object for saving replacement operation result IFindResultCallback . |
See Also
- class
IFindResultCallback
- class
ITextSearchOptions
- class
TextFrame
- module
aspose.slides
- library
Aspose.Slides