ReplacementOptions class
ReplacementOptions class
Represents options for matched text replacement.
The ReplacementOptions type exposes the following members:
Constructors
| Constructor | Description |
|---|---|
__init__(self, replacement) |
Initializes a new instance of ReplacementOptions class with replacement text as an option. |
__init__(self, color) |
Initializes a new instance of ReplacementOptions class with colored rectangle as an option. |
Properties
| Property | Description |
|---|---|
| action_type | Gets the replacement action: draw box or replace text. |
| replacement | Gets or sets the textual replacement value. |
| box_color | Gets or sets the color for a ReplacementType.DRAW_BOX option (ignored otherwise). |
| filters | Gets or sets an array of filters to apply with this redaction. |
| custom_redaction | Gets or sets a custom redaction ICustomRedactionHandler handler that allows users to define their own redaction logic. |
Remarks
Learn more | | | |
See Also
- module
groupdocs.redaction.redactions - class
ICustomRedactionHandler