Namespace PSPDFKit.Redaction

Classes

RedactionProcessor

A document processor to add and apply redactions. The processor supports redaction based upon regular expressions (RedactionRegEx) and redacting of common information using predefined presets (phone numbers, email, address). See RedactionPreset.Type for a list of presets.

A redaction template is defined (AddRedactionTemplates(IEnumerable<RedactionTemplate>)) before either adding redaction annotations to the document (IdentifyAndAddRedactionAnnotations(Document)) or immediately redacting the information directly from the document (Redact(Document)).

The processor can take multiple calls to IdentifyAndAddRedactionAnnotations(Document) and Redact(Document) to allow for batch processing on different documents.