DOCX JPG PDF XML XML
  Product Family
PDF

Convert PowerPoint XML Presentation to PDF in C++

Use C++ to convert a PowerPoint XML Presentation file to PDF without Microsoft PowerPoint.

Convert PowerPoint XML Presentation to PDF Using C++

Aspose.Slides for C++ is a PowerPoint processing API that lets you convert PowerPoint XML Presentation files to PDF in C++ applications without Microsoft PowerPoint. Install the package from NuGet or use the following Package Manager Console command.

Command

PM> Install-Package Aspose.Slides.Cpp

How to Convert PowerPoint XML Presentation to PDF via C++

C++ developers can convert a PowerPoint XML Presentation file to PDF by using Aspose.Slides for C++ to save the presentation as a PDF file.

  1. Load the PowerPoint XML Presentation file with the Presentation class.
  2. Call Save with SaveFormat::Pdf and the output file path.

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.
 

XML to PDF C++ Conversion Source Code

auto presentation = MakeObject<Presentation>(u"presentation.xml");
auto slide = presentation->get_Slide(0);

presentation->Save(u"presentation.pdf", SaveFormat::Pdf);
presentation->Dispose();
 

Free App to Convert PowerPoint XML Presentation to PDF

Convert presentations and slides online.

Other Supported Conversions

You can also convert PowerPoint XML Presentation files into many other file formats.

XML TO BMP (Bitmap Image)
XML TO EMF (Enhanced Metafile Format)
XML TO GIF (Graphics Interchange Format)
XML TO HTML (Hypertext Markup Language)
XML TO JPEG (JPEG Image)
XML TO ODP (OpenDocument Presentation Format)
XML TO OTP (OpenDocument Presentation Template)
XML TO PNG (Portable Network Graphics)
XML TO POT (PowerPoint 97–2003 Template)
XML TO POTM (PowerPoint Macro-Enabled Template)
XML TO POTX (PowerPoint Template)
XML TO PPS (PowerPoint Slide Show)
XML TO PPSM (Macro-enabled Slide Show)
XML TO PPSX (PowerPoint Slide Show)
XML TO PPT (PowerPoint 97-2003 Presentation)
XML TO PPTM (Macro-enabled Presentation File)
XML TO PPTX (Open XML Presentation Format)
XML TO SVG (Scalable Vector Graphics)
XML TO TIFF (Tagged Image File Format)
XML TO XPS (XML Paper Specification)