Created
January 14, 2020 07:43
-
-
Save GroupDocsGists/9233d7bda798cd2c05e21e19a3611b51 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// For complete examples and data files, please go to https://github.com/groupdocs-redaction/GroupDocs.Redaction-for-.NET | |
using (Redactor redactor = new Redactor("\\Sample.docx", new LoadOptions(), new RedactorSettings(new RedactionDump()))) | |
{ | |
// Assign an instance before using Redactor | |
redactor.Apply(new ExactPhraseRedaction("John Doe", new ReplacementOptions("[personal]"))); | |
redactor.Save(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment