PPT PPTX ODP POT PPSX
Aspose.Slides  for C++
PPTX

Redact PPTX using C++

Use Aspose.Slides for C++ to find and replace sensitive text in presentation files without Microsoft PowerPoint.

Redact PPTX Presentation via C++

Aspose.Slides for C++ lets you redact PPTX presentations by replacing sensitive text in slides. Use SlideUtil::FindAndReplaceText with a Presentation object to search the presentation and replace matching text before saving the updated file.

Redact PPTX Presentation using C++

auto presentation = MakeObject<Presentation>(u"presentation.pptx");

SlideUtil::FindAndReplaceText(presentation, true, u"Confidential", u"[redacted]", nullptr);
presentation->Save(u"redacted-presentation.pptx", SaveFormat::Pptx);
presentation->Dispose();

How to Redact PPTX via C++

These are the steps to redact PPTX files.

  1. Load the PPTX file with the Presentation class.

  2. Use the FindAndReplaceText method to find and replace sensitive text.

  3. Save the redacted file with SaveFormat::Pptx.

Online PPTX Redaction Live Demos