 |
PdfRedactionManagerAddRedaction(String, Boolean, Boolean, Int32) Method |
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.
Namespace: SelectPdf.UniversalAssembly: SelectPdf.Universal (in SelectPdf.Universal.dll) Version: 26.4
Syntaxpublic void AddRedaction(
string text,
bool caseSensitive,
bool wholeWordsOnly,
int[] pageIndexes
)
Public Sub AddRedaction (
text As String,
caseSensitive As Boolean,
wholeWordsOnly As Boolean,
pageIndexes As Integer()
)
Parameters
- text String
- The text to remove.
- caseSensitive Boolean
- True to match the text's letter case exactly.
- wholeWordsOnly Boolean
- True to match only whole words.
- pageIndexes Int32
- The zero-based indexes of the pages to search, or null
for every page.
See Also