Convert PPSX to PPTM in C++

Convert PPSX to PPTM using Aspose.Slides for C++ without Microsoft PowerPoint.

Convert PPSX to PPTM Using C++

Aspose.Slides for C++ is a PowerPoint processing API that lets you convert PPSX presentations to PPTM 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.Cpp

PPSX to PPTM C++ Conversion Source Code

auto presentation = MakeObject<Presentation>(u"presentation.ppsx");
presentation->Save(u"presentation.pptm", SaveFormat::Pptm);
presentation->Dispose();

How to Convert PPSX to PPTM via C++

Save a PPSX presentation as PPTM with a direct C++ conversion call.

  1. Create a Presentation instance from the source PPSX file.
  2. Call the Save method.
  3. Pass the output file path and SaveFormat::Pptm.

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.

Built with Aspose.Slides

Convert PPSX to PPTM 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 PPSX files.

  • Runs in your browser, nothing to install.
  • See how Aspose.Slides converts files before you write code.
  • Upload PPSX files and save them as PPTM.
  • Download the result or convert more files.