ReplacementOptions constructor

__init__(self, replacement)

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__(self, color)

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