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 | The callback object for receiving search results IFindResultCallback . |
See Also
- class
IFindResultCallback
- class
ITextFrame
- class
ITextSearchOptions
- module
aspose.slides
- library
Aspose.Slides