EraseMetadataRedaction class

EraseMetadataRedaction class

Represents a metadata redaction that erases all metadata or metadata matching specific MetadataFilters from the document.

Inheritance: EraseMetadataRedactionMetadataRedactionRedaction

The EraseMetadataRedaction type exposes the following members:

Constructors

Constructor Description
init Initializes a new instance of EraseMetadataRedaction class, erasing all metadata.
init Initializes a new instance of EraseMetadataRedaction class, erasing metadata, matching specific combination of MetadataFilters.

Properties

Property Description
description Returns a string, describing the redaction and its parameters.
filter Gets or sets the filter, which is used to select all or specific metadata, for example Author or Company.

Methods

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

Remarks

Learn more | | | |

Example

The following example demonstrates how to erase (set equal to empty values) all or specific metadata.

See Also