redact method
redact
Applies custom redaction to specific document content.
Currently, this is supported only for PDF PageAreaRedaction
.
Users can define their own redaction logic, such as AI-based redaction,
which may be more advanced than simple pattern-based methods.
Returns
A CustomRedactionResult
indicating whether the redaction should be applied and the modified content.
def redact(self, context):
...
Parameter | Type | Description |
---|---|---|
context | CustomRedactionContext |
Contains the document content to be redacted along with related metadata. |
See Also
- module
groupdocs.redaction.redactions
- class
CustomRedactionResult
- class
ICustomRedactionHandler
- class
PageAreaRedaction