Main Features of GroupDocs.Redaction for .NET

Hide Private Images in POWERPOINT Documents Using Overlays with .NET

Protect personal and corporate data in POWERPOINT files with C#. Simple tools for strong document privacy.

Protect Sensitive Information in Powerpoint Documents

GroupDocs.Redaction for .NET is built to help your .NET apps safeguard document content quickly.

  1. Create a Redactor object and specify the Powerpoint file.
  2. Adjust redaction settings to suit your needs.
  3. Select the area of the image and pick overlay color.
  4. Apply redaction and save the document.
// Hide image data in POWERPOINT files

// Load the file using Redactor
using (Redactor redactor  = new Redactor("input.pptx"))
{
    // Set overlay color and dimensions
    Size replacement_size = new Size(100, 100);
    var replacement_options = new RegionReplacementOptions(Color.Blue, replacement_size);

    // Choose area to cover
    Point replacement_point = new Point(200, 200);
    var redaction = new ImageAreaRedaction(replacement_point, replacement_options);
    
    // Apply overlay and save document
    redactor.Apply(redaction);
    redactor.Save();
}
dotnet add package GroupDocs.Redaction
click to copy
copied
More examples Documentation

Redact Sensitive Data in Documents

GroupDocs.Redaction for .NET lets you hide or erase content in multiple document types. Protect private data while keeping files easy to use and share.

Feature-Rich Redaction Tools

Find and Edit Text

Search for sensitive text in documents and replace it to protect private data.

Cover Image Content

Use overlays to mask images or selected parts, ensuring private visuals stay hidden.

Clean Hidden Metadata

Delete or modify hidden metadata to prevent unintentional data exposure.

Protect Image Data with Overlays

This example demonstrates hiding sensitive content in document images.

C#

//  Load file for redaction
using (Redactor redactor  = new Redactor("source.pptx"))
{
    // Define overlay size, position, and color
    Size replacement_size = new Size(300, 30);
    var replacement_options = new RegionReplacementOptions(Color.Blue, replacement_size);
    Point replacement_point = new Point(20, 125);
    var redaction = new ImageAreaRedaction(replacement_point, replacement_options);

    // Mark image area on page one
    redaction.Filters = new RedactionFilter[] {
        new PageRangeFilter(PageSeekOrigin.Begin, 0, 1),
        new PageAreaFilter(new Point(0, 300), new Size(600, 600))
    };

    // Apply the overlay to cover image
    redactor.Apply(redaction);

    // Save redacted document
    var save_options = new SaveOptions() { AddSuffix = true, RasterizeToPDF = false };
    var outputPath = redactor.Save(save_options);
}
dotnet add package GroupDocs.Redaction
click to copy
copied
More examples Documentation

What is GroupDocs.Redaction for .NET?

GroupDocs.Redaction for .NET provides C# developers with simple tools to hide or remove content in POWERPOINT files. Protect your documents by covering sensitive text, images, and metadata.
Learn more
About illustration

Ready to get started?

Download GroupDocs.Redaction for free or get a trial license for full access!

Useful resources

Explore documentation, code samples, and community support to enhance your experience.

Secure POWERPOINT Content with .NET Redactions

Use .NET to cover or delete private content in POWERPOINT files. A trusted solution for protecting sensitive documents.

Temporary license tips

1
Sign up with your work email.
Free mail services are not allowed.
2
Use Get a temporary license button on the second step.
 English