View PPSX in C#
C# API for opening PPSX files and saving them as responsive HTML.
View PPSX using Aspose.Slides
Aspose.Slides for .NET is a .NET library for opening, viewing, editing, and converting presentation files. You can load PPSX files and save them as HTML for viewing in a browser.
View PPSX in C#
Using Aspose.Slides for .NET , you can load a PPSX slideshow and save it as responsive HTML with a few lines of code.
C# code for viewing PPSX
using var presentation = new Presentation("presentation.ppsx");
var responsiveHtmlController = new ResponsiveHtmlController();
var htmlOptions = new HtmlOptions
{
HtmlFormatter = HtmlFormatter.CreateCustomFormatter(responsiveHtmlController)
};
presentation.Save("output.html", SaveFormat.Html, htmlOptions);
How to view PPSX in C#
Install Aspose.Slides for .NET. See Installation .
Add the library as a reference in your project.
Load the
PPSXfile with thePresentationclass.Create a
ResponsiveHtmlControllerobject for responsive HTML output.Create an
HtmlOptionsobject and set theHtmlFormatterproperty.Save the PPSX file as HTML with
SaveFormat.Html.
View other files
You can also open and view presentations in other formats.