Skip to content

Instantly share code, notes, and snippets.

@GroupDocsGists
Created January 14, 2020 07:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save GroupDocsGists/084af5c6b79a12a7af7ff6c1fc9d4413 to your computer and use it in GitHub Desktop.
Save GroupDocsGists/084af5c6b79a12a7af7ff6c1fc9d4413 to your computer and use it in GitHub Desktop.
// For complete examples and data files, please go to https://github.com/groupdocs-redaction/GroupDocs.Redaction-for-.NET
var config = RedactorConfiguration.GetInstance();
var docxSettings = config.FindFormat(".docx");
docxSettings.ExtensionFilter = docxSettings.ExtensionFilter + ",.log";
using (Redactor redactor = new Redactor(@"C:\sample.log"))
{
// Here we can use document instance to perform redactions
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment