RegionReplacementOptions constructor
init
Initializes a new instance of RegionReplacementOptions class.
def __init__(self, fill_color, size):
...
| Parameter | Type | Description |
|---|---|---|
| fill_color | aspose.pydrawing.Color | Color to fill the area |
| size | aspose.pydrawing.Size | Filled area size |
init
Initializes a new instance of RegionReplacementOptions class which size matches given text.
def __init__(self, fill_color, font, expected_text):
...
| Parameter | Type | Description |
|---|---|---|
| fill_color | aspose.pydrawing.Color | Color to fill the area |
| font | aspose.pydrawing.Font | Expected text font |
| expected_text | str | Expected text |
See Also
- module
groupdocs.redaction.redactions - class
RegionReplacementOptions