__init__ constructor
Leave feedback
On this page
Initializes a new RegionReplacementOptions instance.
def __init__(self, fill_color, size):
...
| Parameter | Type | Description |
|---|---|---|
| fill_color | Color |
Color to fill the area. |
| size | Size |
Filled area size. |
from groupdocs.redaction.options.drawing import Color, Size
from groupdocs.redaction.redactions import RegionReplacementOptions
color = Color.from_argb(255, 220, 20, 60)
size = Size(1793, 2069)
repl_opt = RegionReplacementOptions(color, size)
Initializes a new RegionReplacementOptions instance whose size matches the given text.
def __init__(self, fill_color, font, expected_text):
...
| Parameter | Type | Description |
|---|---|---|
| fill_color | Color |
Color to fill the area. |
| font | Font |
Expected text font. |
| expected_text | str |
Expected text. |
- class
RegionReplacementOptions
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.