__init__ constructor
Leave feedback
On this page
Initializes a new instance of ReplacementOptions with the specified replacement text.
def __init__(self, replacement):
...
| Parameter | Type | Description |
|---|---|---|
| replacement | str |
Textual replacement. |
from groupdocs.redaction.redactions import ReplacementOptions
# Replace matched text with "[REDACTED]"
options = ReplacementOptions("[REDACTED]")
Initializes a new instance of ReplacementOptions class with colored rectangle as an option.
def __init__(self, color):
...
| Parameter | Type | Description |
|---|---|---|
| color | System.Drawing.Color |
Rectangle color. |
- class
ReplacementOptions
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.