Convert PDF to PPT in C++
Convert PDF files to PPT presentations using Aspose.Slides for C++ without Adobe Acrobat or Microsoft PowerPoint.
Convert PDF to PPT Using C++
To convert PDF to PPT, create a Presentation, remove the default slide, import the PDF pages, and save the presentation in PPT format.
C++ code for converting PDF into PPT
auto presentation = MakeObject<Presentation>();
presentation->get_Slides()->RemoveAt(0);
presentation->get_Slides()->AddFromPdf(u"input.pdf");
presentation->Save(u"presentation.ppt", SaveFormat::Ppt);
presentation->Dispose();Convert PDF to PPT in C++
Aspose.Slides for C++ is a presentation processing API that can import PDF pages into a presentation and save the result as PPT. Using Aspose.Slides for C++, developers can convert PDF files to PPT with just a few lines of C++ code.
Aspose.Slides for C++ can convert PDF content to PPT and other presentation-related formats.
How to convert PDF to PPT using Aspose.Slides for C++ API
These are the steps to convert PDF to PPT in C++.
- Install Aspose.Slides for C++.
- Add a library reference to your C++ project.
- Remove the default slide and import the source PDF file into the Presentation object.
- Save the presentation as a PPT file.
Built with Aspose.Slides
Convert PDF to PPT Online
The free Aspose.Slides Conversion app is built with Aspose.Slides for C++, the same API as the code above. Open it and see what the API can do with your own PDF files.
- Runs in your browser, nothing to install.
- See how Aspose.Slides converts files before you write code.
- Upload PDF files and save them as PPT.
- Download the result or convert more files.
Convert PDF to Other Supported Formats
You can also convert PDF files and save them to other file formats. See all supported formats below.