ReplacementOptions
Leave feedback
On this page
Represents options for matched text replacement.
public class ReplacementOptions
| Name | Description |
|---|---|
| ReplacementOptions(Color) | Initializes a new instance of ReplacementOptions class with colored rectangle as an option. |
| ReplacementOptions(string) | Initializes a new instance of ReplacementOptions class with replacement text as an option. |
| Name | Description |
|---|---|
| ActionType { get; } | Gets the replacement action: draw box or replace text. |
| BoxColor { get; set; } | Gets or sets the color for a DrawBox option (ignored otherwise). |
| CustomRedaction { get; set; } | Gets or sets a custom redaction ICustomRedactionHandler handler that allows users to define their own redaction logic. |
| Filters { get; set; } | Gets or sets an array of filters to apply with this redaction. |
| Replacement { get; set; } | Gets or sets the textual replacement value. |
Learn more
- More details about document text redactions: Text redactions
- More details about redaction filters: Use PDF redaction filters
- namespace GroupDocs.Redaction.Redactions
- assembly GroupDocs.Redaction
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.