ICustomRedactionHandler

public interface ICustomRedactionHandler

Defines a custom redaction callback. Currently supported for PDF PageAreaRedaction only.

Methods

Method Description
redact(CustomRedactionContext context) Processes a matched text fragment and returns redaction decision.

redact(CustomRedactionContext context)

public abstract CustomRedactionResult redact(CustomRedactionContext context)

Processes a matched text fragment and returns redaction decision.

Parameters:

Parameter Type Description
context com.groupdocs.redaction.redactions.CustomRedactionContext Matched fragment information.

Returns: CustomRedactionResult - Redaction decision and optional replacement text.