Remove sensitive data from documents via your own .NET apps.
.NET Redaction Library
- Remove classified or sensitive information from the documents.
- Remove document metadata and annotations.
- Make a rasterized PDF version of the redacted document for better security.
- Keep the document in its original format after the redaction process.
- Set the redaction scope to a specific worksheet or column.
- Apply multiple redactions in a single call.
- Modify compliance level from PDF/A-1b to PDF/A-1a during rasterizing PDF.
Document Body & Metadata Redaction Formats
Microsoft Word: DOC, DOT, DOCX, DOCM, DOTX, DOTM, RTF
Microsoft Excel: XLSX, XLSM, XLTX, XLTM, XLS, XLT, CSV
Microsoft PowerPoint: PPT, PPTX, PPSX, POT, PPS, PPTM, PPSM, POTM
Image: JPEG, TIF, TIFF, PNG, BMP, GIF
Fixed Layout: PDF
Microsoft Word: DOC, DOT, DOCX, DOCM, DOTX, DOTM, RTF
Microsoft Excel: XLSX, XLSM, XLTX, XLTM, XLS, XLT, CSV
Microsoft PowerPoint: PPT, PPTX, PPSX, POT, PPS, PPTM, PPSM, POTM
Fixed Layout: PDF
Supported Redaction Types
Text: Replace or hide a textual area within the document body with a colored block.
Metadata: Replace metadata values with empty ones or redact metadata values.
Annotation: Remove annotations from the document or redact their content.
Image: Replace a specific area of an image with a colored box.
GroupDocs.Redaction for .NET does not require any external software or third party tool to be installed. GroupDocs.Redaction for .NET supports any 32-bit or 64-bit operating system where .NET or Mono framework is installed. The other details are as follows:
Microsoft Windows: Microsoft Windows Desktop (x86, x64) (XP & up), Microsoft Windows Server (x86, x64) (2000 & up), Windows Azure
macOS: Mac OS X
Linux: Linux (Ubuntu, OpenSUSE, CentOS and others)
Development Environments: Microsoft Visual Studio (2010 & up), Xamarin.Android, Xamarin.IOS, Xamarin.Mac, MonoDevelop 2.4 and later.
Supported Frameworks: GroupDocs.Conversion for .NET supports .NET and Mono frameworks.
Getting Started with GroupDocs.Redaction for .NET
Are you ready to give GroupDocs.Redaction for .NET a try? Simply execute Install-Package GroupDocs.Redaction
from Package Manager Console in Visual Studio to fetch & reference GroupDocs.Redaction assembly in your project. If you already have GroupDocs.Redaction for .Net and want to upgrade it, please execute Update-Package GroupDocs.Redaction
to get the latest version.
Please check the GitHub Repository for other common usage scenarios.
// 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"))
{
redactor.Apply(new ExactPhraseRedaction("John Doe", true /*isCaseSensitive*/, new ReplacementOptions("[personal]")));
redactor.Save();
}
Use C# to Redact Specific String from Annotations
using (Redactor redactor = new Redactor(@"C:\test.pdf"))
{
redactor.Apply(new AnnotationRedaction("(?im:john)", "[redacted]"));
redactor.Save()
}
Product Page | Docs | Demo | API Reference | Examples | Blog | Free Support | Temporary License