Namespace SoftZenPdf.Redact

Classes

PdfRedactor

Redacts content from an existing PDF. Mark what to remove, by text pattern or by area, then save: everything drawn inside the marked areas is removed from the page content itself, not just covered.

RedactionMatch

Text found by Find(Regex), with the areas it covers.

RedactionResult

What Save(Stream) removed.

Structs

RedactionArea

A rectangle to redact on a page, in points in the page's own coordinate space (origin at the bottom-left of the media box, before the page's /Rotate is applied), the same space as ExtractTextWithPositions(int, TextExtractionOptions?).