Class OfficeRedactionRequest
Describes what to redact in an Office document. Every occurrence of every search term is overwritten in place, character for character, with the mask character configured on MaskCharacter.
public sealed class OfficeRedactionRequest
- Inheritance
-
OfficeRedactionRequest
- Inherited Members
Examples
using LMKit.Document.OpenXml;
var request = new OfficeRedactionRequest();
request.SearchTerms.Add("John Doe");
request.SearchTerms.Add("4111 1111 1111 1111");
Properties
- CaseSensitiveSearch
Gets or sets whether term matching is case sensitive. Default:
false.
- SearchTerms
Gets the text strings to search for. Every occurrence found in the document is overwritten with the mask character.
- WholeWordSearch
Gets or sets whether term matching only accepts whole words: a match is rejected when the character immediately before or after it is a letter or a digit. Default:
false.