Tools inside GroupDocs.Redaction for .NET

Text Redaction in POWERPOINT with Overlays Using .NET

Protect content in your POWERPOINT files by placing overlay blocks with help from C# and GroupDocs.Redaction for .NET.

Secure content in Powerpoint documents

Use GroupDocs.Redaction for .NET in your .NET apps to clean files before distribution.

  1. Pass the file path to a new Redactor instance.
  2. Set what and how you want to redact.
  3. Define the text pattern and set the overlay color.
  4. Redact and save your updated file.
// Overlay text in POWERPOINT to hide details

// Use Redactor to open your file
using (Redactor redactor  = new Redactor("input.pptx"))
{
    // Adjust settings for redaction
    // Select text and a blocking color
    var opt = new ReplacementOptions(System.Drawing.Color.Red);
    
    var redaction = new ExactPhraseRedaction("Text to hide", opt);

    // Run and save your redacted file
    redactor.Apply(redaction);
    redactor.Save();
}
dotnet add package GroupDocs.Redaction
click to copy
copied
More examples Documentation

Hide sensitive data easily

Use GroupDocs.Redaction for .NET to remove or cover content across document types — ideal for protecting data in legal, business, or personal files.

Flexible document redaction

Swap out text

Find words or numbers and replace or hide them.

Redact photos or sections

Add overlays to images or selected spots on a page.

Remove extra data

Clean out metadata that may reveal hidden info.

Find & redact with regex

This shows how regex can help identify and hide text

C#

//  Open the file that needs redaction
using (Redactor redactor  = new Redactor("source.pptx"))
{
    // Set up your rules using regex
    var repl_opt = new ReplacementOptions(System.Drawing.Color.Blue);
    var redaction = new RegexRedaction("\\d{2}\\s*\\d{2}[^\\d]*\\d{6}", repl_opt);

    // Run redaction process
    redactor.Apply(redaction);

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

About This Tool

GroupDocs.Redaction for .NET helps C# users clean up POWERPOINT documents by covering or deleting text, metadata, or images as needed.
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.

Hide Content in POWERPOINT Using .NET

Add overlays or clear data from your POWERPOINT files to keep sensitive content private using .NET.

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