FindReplaceOptions constructor
FindReplaceOptions()
Initializes a new instance of the FindReplaceOptions class with default settings.
def __init__(self):
...
FindReplaceOptions(direction)
Initializes a new instance of the FindReplaceOptions class with the specified direction.
def __init__(self, direction: aspose.words.replacing.FindReplaceDirection):
...
Parameter | Type | Description |
---|---|---|
direction | FindReplaceDirection | The direction of the find and replace operation. |
FindReplaceOptions(replacing_callback)
Initializes a new instance of the FindReplaceOptions class with the specified replacing callback.
def __init__(self, replacing_callback: aspose.words.replacing.IReplacingCallback):
...
Parameter | Type | Description |
---|---|---|
replacing_callback | IReplacingCallback | The callback to use for replacing found text. |
FindReplaceOptions(direction, replacing_callback)
Initializes a new instance of the FindReplaceOptions class with the specified direction and replacing callback.
def __init__(self, direction: aspose.words.replacing.FindReplaceDirection, replacing_callback: aspose.words.replacing.IReplacingCallback):
...
Parameter | Type | Description |
---|---|---|
direction | FindReplaceDirection | The direction of the find and replace operation. |
replacing_callback | IReplacingCallback | The callback to use for replacing found text. |
See Also
- module aspose.words.replacing
- class FindReplaceOptions