PdfRedactorRedactText(String, Boolean, Boolean) Method

Marks for redaction every occurrence of a text in the document. The same texts are replaced with OverlayText, or with the word Redacted when it is not set, in the document information, metadata, bookmarks, annotation and form field values and alternate descriptions

Definition

Namespace: EvoPdf.Next
Assembly: EvoPdf.Next (in EvoPdf.Next.dll) Version: 15.0.0
C#
public int RedactText(
	string text,
	bool matchCase = false,
	bool wholeWord = false
)

Parameters

text  String
The text to redact
matchCase  Boolean  (Optional)
True to match the case of the letters
wholeWord  Boolean  (Optional)
True to redact the text only as whole words

Return Value

Int32
The number of occurrences found

See Also