RedactionDescription class

RedactionDescription class

Represents a single change action info that performed during redaction process.

The RedactionDescription type exposes the following members:

Constructors

Constructor Description
__init__(self, redaction_type, action_type, original_text) Initializes a new instance of RedactionDescription class without replacement information.
__init__(self, redaction_type, action_type, original_text, replacement) Initializes a new instance of RedactionDescription class with replacement information.
__init__(self, redaction_type, action_type, image_area_replacement, image_details) Initializes a new instance of RedactionDescription class with image area replacement information.

Properties

Property Description
redaction_type Gets the type of document’s data - text, metadata or annotations.
action_type Gets the redaction operation: replacement, cleanup or deletion.
original_text Gets the matched text, if any expression is provided.
replacement Gets the replacement information, can be null.
image_area_replacement Gets the replacement information for image area redactions, returns null for textual redactions.
details Gets or sets an optional details information for the item being redacted.

Remarks

Learn more | | |

See Also