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

Search Text in PPT using C++

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

Search and Replace Text in PPT Presentation via C++

Aspose.Slides for C++ lets you search text in PPT presentations and replace matching content. Use SlideUtil::FindAndReplaceText with a Presentation object to search slide text and save the updated presentation.

Search Text in PPT Presentation using C++

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

SlideUtil::FindAndReplaceText(presentation, true, u"Quarterly Report", u"Annual Report", nullptr);
presentation->Save(u"updated-presentation.ppt", SaveFormat::Ppt);
presentation->Dispose();

How to Search Text in PPT via C++

These are the steps to search text in PPT files.

  1. Load the PPT file with the Presentation class.

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

  3. Save the updated file with SaveFormat::Ppt.

Online PPT Search Live Demos