# View PPSM in C++

> View PPSM presentations in C++. Use Aspose.Slides for C++ to open macro-enabled PowerPoint slideshow files and save them as responsive HTML.

Source: https://products.aspose.com/slides/cpp/viewer/ppsm/
Updated: 2026-07-09



## View PPSM using Aspose.Slides

Aspose.Slides for C++ is a presentation processing library for opening, viewing, editing, and converting presentation files. You can load a PPSM file with the `Presentation` class and save it as HTML for browser-based viewing.

## View PPSM in C++

Use Aspose.Slides for C++ to load a PPSM file and export it to responsive HTML with `ResponsiveHtmlController`, `HtmlOptions`, `HtmlFormatter`, and `SaveFormat::Html`.

### C++ code for viewing PPSM

```cpp
auto presentation = MakeObject<Presentation>(u"presentation.ppsm");

auto controller = MakeObject<ResponsiveHtmlController>();
auto htmlOptions = MakeObject<HtmlOptions>();
htmlOptions->set_HtmlFormatter(HtmlFormatter::CreateCustomFormatter(controller));

presentation->Save(u"index.html", SaveFormat::Html, htmlOptions);
presentation->Dispose();
```

## How to view PPSM in C++

Install Aspose.Slides for C++. See [Installation](https://docs.aspose.com/slides/cpp/installation/).

Add the library as a reference in your project.

Load the PPSM file with the `Presentation` class.

Create a `ResponsiveHtmlController` object for responsive HTML formatting.

Create an `HtmlOptions` object and set the `HtmlFormatter` property.

Save the PPSM presentation as HTML with `SaveFormat::Html`.

Open the generated HTML file in a browser to view the PPSM content.

## View other files
