PPT
PPTX
ODP
POT
PPSX
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.
Load the PPTX file with the
Presentationclass.Use the
FindAndReplaceTextmethod to find and replace sensitive text.Save the redacted file with
SaveFormat::Pptx.