redact method
Leave feedback
On this page
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.
def redact(self, context):
...
| Parameter | Type | Description |
|---|---|---|
| context | CustomRedactionContext |
Contains the document content to be redacted along with related metadata. |
Returns: CustomRedactionResult: Indicates whether the redaction should be applied and the modified content.
- class
ICustomRedactionHandler
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.