View PPS in C#

C# API for opening PPS files and saving them as responsive HTML.

View PPS using Aspose.Slides

Aspose.Slides for .NET is a .NET library for opening, viewing, editing, and converting presentation files. You can load PPS files and save them as HTML for viewing in a browser.

View PPS in C#

Using Aspose.Slides for .NET , you can load a PPS slideshow and save it as responsive HTML with a few lines of code.

C# code for viewing PPS

using var presentation = new Presentation("presentation.pps");

var responsiveHtmlController = new ResponsiveHtmlController();
var htmlOptions = new HtmlOptions
{
    HtmlFormatter = HtmlFormatter.CreateCustomFormatter(responsiveHtmlController)
};

presentation.Save("output.html", SaveFormat.Html, htmlOptions);

How to view PPS in C#

  1. Install Aspose.Slides for .NET. See Installation .

  2. Add the library as a reference in your project.

  3. Load the PPS file with the Presentation class.

  4. Create a ResponsiveHtmlController object for responsive HTML output.

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

  6. Save the PPS file as HTML with SaveFormat.Html.