Click or drag to resize
Pdf Library for .NET

PdfRedactionManagerAddRedaction Method

Overload List
 NameDescription
Public methodAddRedaction(Regex) Marks every match of a regular expression, on every page, for redaction - for text that follows a pattern rather than a known value, such as account numbers or e-mail addresses. The matches are also taken out of what the document stores without showing it, as for a text.
Public methodAddRedaction(Int32, RectangleF) Marks a rectangle on a page for redaction, covered with FillColor.
Public methodAddRedaction(Regex, Int32) Marks every match of a regular expression on the given pages for redaction. With pageIndexesnull it is the same as the overload without pages, which also reaches what the document stores off its pages; with pages named, only those pages are changed.
Public methodAddRedaction(Int32, RectangleF, PdfColor) Marks a rectangle on a page for redaction, covered with the given color.
Public methodAddRedaction(String, Boolean, Boolean) Marks every occurrence of a text, on every page, for redaction. The text is also taken out of what the document stores without showing it - properties, metadata, bookmarks, annotation and form field text, attachments.
Public methodAddRedaction(String, Boolean, Boolean, Int32) Marks every occurrence of a text on the given pages for redaction. With pageIndexesnull it is the same as the overload without pages, which also reaches what the document stores off its pages; with pages named, only those pages are changed.
Top
See Also