View POTM in C#
Powerful cross-platform .NET API for opening and viewing POTM using C# code on NET Framework, .NET Core, Windows Azure, Mono or Xamarin Platforms
View POTM using Aspose.Slides
Aspose.Slides for .NET is a powerful .NET library used to open and view, manipulate or edit presentations, import presentations from images or documents, and convert presentations to files in other formats.
View POTM in C#
Using Aspose.Slides for .NET , you can load and view a presentation with a few lines of code.
C# code for viewing POTM
string output = System.IO.Path.GetTempPath() + Guid.NewGuid().ToString() + ".html";
// instantiate a Presentation object & load the POTM file
using (var presentation = new Aspose.Slides.Presentation("sample.potm"))
{
    // create HTML export controller
    var controller = new Aspose.Slides.Export.ResponsiveHtmlController();
    // create an instance of HtmlOptions and set HtmlFormatter property
    var htmlOptions = new Aspose.Slides.Export.HtmlOptions 
    { 
        HtmlFormatter = Aspose.Slides.Export.HtmlFormatter.CreateCustomFormatter(controller) 
    };
    // save the presentation in HTML
    presentation.Save(output, Aspose.Slides.Export.SaveFormat.Html, htmlOptions);
}
// load HTML to view the presentation content
System.Diagnostics.Process.Start(output);
How to view POTM in C#
- Install Aspose.Slides for .NET. See Installation . 
- Add the library as a reference in your project. 
- Instantiate a Presentation object and load the POTM file. 
- Create an instance of the ResponsiveHtmlController for formatting. 
- Create an instance of HtmlOptions and set the HtmlFormatter property. 
- Save the POTM presentation as HTML. 
- Call Process.Start with path to resulting HTML to load POTM content. 
View other files
You can also open and view presentations in other formats