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):
    ...
ParameterTypeDescription
directionFindReplaceDirectionThe 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):
    ...
ParameterTypeDescription
replacing_callbackIReplacingCallbackThe 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):
    ...
ParameterTypeDescription
directionFindReplaceDirectionThe direction of the find and replace operation.
replacing_callbackIReplacingCallbackThe callback to use for replacing found text.

See Also