# Convert PPSX to PPTM Using C++

> C++ conversion code for PPSX to PPTM. Use the example code for batch PPSX to PPTM conversion in C++ applications.

Source: https://products.aspose.com/slides/cpp/conversion/ppsx-to-pptm/
Updated: 2026-08-11



## Convert PPSX to PPTM Using C++

[Aspose.Slides for C++](/slides/cpp/) is a PowerPoint processing API that lets you convert PPSX presentations to PPTM in C++ applications without Microsoft PowerPoint. Install the library from [NuGet](https://www.nuget.org/packages/Aspose.Slides.Cpp/) or download it from the [Aspose.Slides for C++ releases page](https://releases.aspose.com/slides/cpp/).

### Command

```powershell
PM> Install-Package Aspose.Slides.Cpp
```

## 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.
1.  Call the `Save` method.
1.  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.

### PPSX to PPTM C++ Conversion Source Code

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

## Other Supported Conversions

- [PPSX TO BMP](/slides/cpp/conversion/ppsx-to-bmp/) — Bitmap Image
- [PPSX TO EMF](/slides/cpp/conversion/ppsx-to-emf/) — Enhanced Metafile Format
- [PPSX TO GIF](/slides/cpp/conversion/ppsx-to-gif/) — Graphics Interchange Format
- [PPSX TO HTML](/slides/cpp/conversion/ppsx-to-html/) — Hypertext Markup Language
- [PPSX TO JPEG](/slides/cpp/conversion/ppsx-to-jpeg/) — JPEG Image
- [PPSX TO ODP](/slides/cpp/conversion/ppsx-to-odp/) — OpenDocument Presentation Format
- [PPSX TO OTP](/slides/cpp/conversion/ppsx-to-otp/) — OpenDocument Presentation Template
- [PPSX TO PDF](/slides/cpp/conversion/ppsx-to-pdf/) — Portable Document Format
- [PPSX TO PNG](/slides/cpp/conversion/ppsx-to-png/) — Portable Network Graphics
- [PPSX TO POT](/slides/cpp/conversion/ppsx-to-pot/) — PowerPoint 97–2003 Template
- [PPSX TO POTM](/slides/cpp/conversion/ppsx-to-potm/) — PowerPoint Macro-Enabled Template
- [PPSX TO POTX](/slides/cpp/conversion/ppsx-to-potx/) — PowerPoint Template
- [PPSX TO PPS](/slides/cpp/conversion/ppsx-to-pps/) — PowerPoint Slide Show
- [PPSX TO PPSM](/slides/cpp/conversion/ppsx-to-ppsm/) — Macro-enabled Slide Show
- [PPSX TO PPT](/slides/cpp/conversion/ppsx-to-ppt/) — PowerPoint 97-2003 Presentation
- [PPSX TO PPTX](/slides/cpp/conversion/ppsx-to-pptx/) — Open XML Presentation Format
- [PPSX TO SVG](/slides/cpp/conversion/ppsx-to-svg/) — Scalable Vector Graphics
- [PPSX TO SWF](/slides/cpp/conversion/ppsx-to-swf/) — Small Web Format
- [PPSX TO TIFF](/slides/cpp/conversion/ppsx-to-tiff/) — Tagged Image File Format
- [PPSX TO XML](/slides/cpp/conversion/ppsx-to-xml/) — PowerPoint XML Presentation
- [PPSX TO XPS](/slides/cpp/conversion/ppsx-to-xps/) — XML Paper Specification
