DeleteAnnotationRedaction class

DeleteAnnotationRedaction class

Represents a text redaction that deletes annotations if text is matching given regular expression (optionally deletes all annotations).

Inheritance: DeleteAnnotationRedactionRedaction

The DeleteAnnotationRedaction type exposes the following members:

Constructors

Constructor Description
init Initializes a new instance of DeleteAnnotationRedaction class, with settings to delete all annotations (matching everything).
init Initializes a new instance of DeleteAnnotationRedaction class, deleting annotations matching given expression.

Properties

Property Description
description Returns a string, describing the redaction and its parameters.

Methods

Method Description
apply_to Applies the redaction to a given format instance.

Remarks

Learn more | | | |

Example

The following example demonstrates how to remove all annotations containing words “use”, “show” or “describe” from document (and leave others).

See Also