Import Presentation - C++ PowerPoint API

[ ]

Aspose.Slides for C++ allows you to import presentations from PDFs. Essentially, you get to convert a PDF to a PowerPoint presentation.


Go through these steps:

  1. Instantiate an object of the presentation class.
  2. Call the AddFromPdf method and pass the PDF file.
  3. Use the Save method to save the file in the PowerPoint format.

This C++ code demonstrates the PDF to PowerPoint process:

auto pres = System::MakeObject<Presentation>();
pres->Save(u"OutputPresentation.pptx", SaveFormat::Pptx);