ReplacementOptions constructor

init

Initializes a new instance of ReplacementOptions class with replacement text as an option.

def __init__(self, replacement):
    ...
Parameter Type Description
replacement str Textual replacement

init

Initializes a new instance of ReplacementOptions class with colored rectangle as an option.

def __init__(self, color):
    ...
Parameter Type Description
color aspose.pydrawing.Color Rectangle color

See Also