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
| Name | Type | Access | Description |
|---|---|---|---|
property_for_name | Callable[[str], Any] | None | Read/Write | Gets or sets the property for name. |
mcids | set[int] | Read/Write | Gets or sets the mcids. |
retired_properties | set[str] | Read/Write | Gets or sets the retired properties. |
sanitized_properties | set[str] | Read/Write | Gets or sets the sanitized properties. |
invoked_xobjects | set[str] | Read/Write | Gets or sets the invoked xobjects. |
Methods
| Signature | Description |
|---|---|
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. |