Features of GroupDocs.Redaction for .NET

Erase Metadata in POWERPOINT via .NET

Protect document data in POWERPOINT files with simple tools built for C#. Remove metadata in just a few steps.

Clean Metadata from Powerpoint Documents

With GroupDocs.Redaction, your .NET apps can easily remove metadata from documents.

  1. Start with a Redactor object and load your file.
  2. Choose metadata fields to remove.
  3. Apply redaction settings.
  4. Export the final, cleaned document.
// Get rid of metadata in POWERPOINT

// Open document with redactor
using (Redactor redactor  = new Redactor("input.pptx"))
{
    // Set metadata cleanup options
    var redaction = new EraseMetadataRedaction(MetadataFilters.All);
    
    // Apply redaction and save
    redactor.Apply(redaction);
    redactor.Save();
}
dotnet add package GroupDocs.Redaction
click to copy
copied
More examples Documentation

Protect Documents with Redaction

GroupDocs.Redaction for .NET helps remove hidden content from documents so you can share them safely. Works with many formats and content types.

Redaction Capabilities

Remove Private Text

Find sensitive words or phrases and take them out of your document.

Mask Image Data

Use overlays to cover areas in images that need to stay hidden.

Delete Metadata

Clean metadata fields that might carry hidden information.

Clear Hidden Metadata Fields

This example guides you through removing embedded data like Author and Title from a POWERPOINT file.

C#

//  Import file to redactor
using (Redactor redactor  = new Redactor("source.pptx"))
{
    // Remove Author data
    MetadataSearchRedaction redactionAuthor = 
        new MetadataSearchRedaction(@"[A-Za-z0-9 ]+", "GroupDocs Company")
    {
        Filter = MetadataFilters.Author
    };

    // Remove Title data
    MetadataSearchRedaction redactionTitle = 
        new MetadataSearchRedaction(@"[A-Za-z0-9 ]+", "GroupDocs.Redaction Usage")
    {
        Filter = MetadataFilters.Title
    };

    // Run redaction
    var redactions = new MetadataSearchRedaction[] { redactionAuthor, redactionTitle };
    redactor.Apply(redactions);

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

More About GroupDocs.Redaction for .NET

GroupDocs.Redaction is a redaction toolkit for C# developers, helping you work with text, image, and metadata redactions in POWERPOINT files.
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.

Clean POWERPOINT Files with .NET

Use .NET to delete hidden data in POWERPOINT files. Ideal for cleaning up confidential 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