AnnotationRedaction class
AnnotationRedaction class
Represents a redaction that replaces annotation text (comments, etc.) matching a given regular expression.
Inheritance: AnnotationRedaction →
Redaction
The AnnotationRedaction type exposes the following members:
Constructors
| Constructor | Description |
|---|---|
| init | Initializes a new instance of AnnotationRedaction class. |
Properties
| Property | Description |
|---|---|
| description | Returns a string, describing the redaction and its parameters. |
| replacement | Gets a textual replacement for matched text. |
Methods
| Method | Description |
|---|---|
| apply_to | Applies the redaction to a given format instance. |
Remarks
Learn more | | | |
Example
The following example demonstrates how to replace the name “John” with “[redacted]” in all annotations.
See Also
- module
groupdocs.redaction.redactions - class
AnnotationRedaction - class
Redaction