Aspose.Slides  for .NET

Redact ODP using C#

Build your own .NET apps to find and replace text in presentation files using server-side APIs. Learn how to search and replace text in content, comments or metadata of ODP presentations

Redact ODP Presentation via C#

A basic document search and replace text in contents, comments, slide notes or metadata with Aspose.Slides for .NET APIs can be done with just few lines of code. Find and replace text in PowerPoint and OpenOffice. Edit text, comments, metadata in presentation via regexp data matching.

Redact ODP Presentation using C#

using (Presentation presentation = new Presentation("welcome-to-powerpoint.odp"))
    Aspose.Slides.Util.SlideUtil.FindAndReplaceText(presentation, true, "PowerPoint", "Aspose.Slides", null);
    presentation.Save("replaced.odp", SaveFormat.Odp);

How to Redact ODP via C#

These are the steps to Redact ODP files.

  1. Load ODP with an instance of Presentation.

  2. Use FindAndReplaceText method to find and replace text.

  3. Save result in ODP format

Online ODP Redaction Live Demos