Convert PPTX to PDF in C++
Convert PPTX to PDF using Aspose.Slides for C++ without Microsoft PowerPoint.
Convert PPTX to PDF Using C++
Aspose.Slides for C++ is a PowerPoint processing API that lets you convert PPTX presentations to PDF in C++ applications without Microsoft PowerPoint. Install the library from NuGet or download it from the Aspose.Slides for C++ releases page .
Command
PM> Install-Package Aspose.Slides.CppPPTX to PDF C++ Conversion Source Code
auto presentation = MakeObject<Presentation>(u"presentation.pptx");
presentation->Save(u"presentation.pdf", SaveFormat::Pdf);
presentation->Dispose();How to Convert PPTX to PDF via C++
Save a PPTX presentation as PDF with a direct C++ conversion call.
- Create a
Presentationinstance from the source PPTX file. - Call the
Savemethod. - Pass the output file path and
SaveFormat::Pdf.
System Requirements
Before running the C++ conversion example, make sure that the following prerequisites are available.
- Microsoft Windows, Linux, or another compatible OS with the supported C++ runtime.
- Aspose.Slides for C++ referenced in your project.
Free App to Convert PPTX to PDF
Convert presentations and slides online.
Other Supported Conversions
You can also convert PPTX into many other file formats including a few listed below.