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.
defredact(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.
Aliases
These names call redact too, limited to the overloads listed.