GroupDocs.Redaction helps your .NET solutions clean up hidden data easily.
- Create a Redactor instance and load the Pptx file.
- Configure redaction rules for metadata fields.
- Apply redaction to remove the data.
- Save your redacted file.
GroupDocs.Redaction helps your .NET solutions clean up hidden data easily.
// Delete metadata in PPTX
// Open the file using Redactor
using (Redactor redactor = new Redactor("input.pptx"))
{
// Set redaction for metadata cleanup
var redaction = new EraseMetadataRedaction(MetadataFilters.All);
// Apply and save file
redactor.Apply(redaction);
redactor.Save();
}
GroupDocs.Redaction for .NET supports redacting content across different formats. Make sure your data is private and your files are clean.

Quickly delete personal text entries from your files.
Hide image sections that should not be visible.
Wipe hidden fields like author, title, and more to stay safe.
// Import your PPTX file
using (Redactor redactor = new Redactor("source.pptx"))
{
// Redact Author field
MetadataSearchRedaction redactionAuthor =
new MetadataSearchRedaction(@"[A-Za-z0-9 ]+", "GroupDocs Company")
{
Filter = MetadataFilters.Author
};
// Redact Title field
MetadataSearchRedaction redactionTitle =
new MetadataSearchRedaction(@"[A-Za-z0-9 ]+", "GroupDocs.Redaction Usage")
{
Filter = MetadataFilters.Title
};
// Process redaction
var redactions = new MetadataSearchRedaction[] { redactionAuthor, redactionTitle };
redactor.Apply(redactions);
// Export the redacted file
var saveOptions = new SaveOptions() { AddSuffix = true, RasterizeToPDF = false };
var outputPath = redactor.Save(saveOptions);
}
Download GroupDocs.Redaction for free or get a trial license for full access!
Explore documentation, code samples, and community support to enhance your experience.
Easily remove background metadata from PPTX files with .NET. Perfect for document safety.

