ReplacementOptions
Contents
[
Hide
]
ReplacementOptions class
Represents options for matched text replacement.
public class ReplacementOptions
Constructors
| 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. |
Properties
| 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. |
Remarks
Learn more
- More details about document text redactions: Text redactions
- More details about redaction filters: Use PDF redaction filters
See Also
- namespace GroupDocs.Redaction.Redactions
- assembly GroupDocs.Redaction