__init__ constructor
Leave feedback
On this page
Initializes a new RegionReplacementOptions instance.
def __init__(self, fill_color, size):
...
| Parameter | Type | Description |
|---|---|---|
| fill_color | System.Drawing.Color |
Color to fill the area. |
| size | System.Drawing.Size |
Filled area size. |
from groupdocs.redaction.redactions import RegionReplacementOptions
from groupdocs.pydrawing import Color, Size
options = RegionReplacementOptions(Color.BLACK, Size(200, 80))
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 | System.Drawing.Color |
Color to fill the area. |
| font | System.Drawing.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.