RedactionContext

RedactionContext

Overview

RedactionContext is a class in Aspose.PDF FOSS for Python.

Metadata associated with the operands changed in one content stream.

This class declares 1 method for RedactionContext objects in Python programs. Available methods include: metadata_edits. Public members are accessible to any Python application after installing the Aspose.PDF FOSS for Python package. Properties: invoked_xobjects, mcids, property_for_name, retired_properties, sanitized_properties.

Properties

NameTypeAccessDescription
property_for_nameCallable[[str], Any] | NoneRead/WriteGets or sets the property for name.
mcidsset[int]Read/WriteGets or sets the mcids.
retired_propertiesset[str]Read/WriteGets or sets the retired properties.
sanitized_propertiesset[str]Read/WriteGets or sets the sanitized properties.
invoked_xobjectsset[str]Read/WriteGets or sets the invoked xobjects.

Methods

SignatureDescription
metadata_edits(content: bytes, tokens: list[_Token], replacements: list[tuple[int, int, bytes]], budget: _LoadBudget) → list[tuple[int, int, bytes]]Inline sanitized property lists for marked scopes containing an edit.

See Also