Convert Presentation to HTML
Contents
[
Hide
]
HTML is one of several widely used format for exchanging data. Aspose.Slides for .NET provides support for converting a presentation to HTML. Below is code snippet that shows you how.
Example
//Instantiate a Presentation object that represents a presentation file
Presentation pres = new Presentation("Conversion.ppt");
HtmlOptions htmlOpt = new HtmlOptions();
htmlOpt.HtmlFormatter = HtmlFormatter.CreateDocumentFormatter("", false);
//Saving the presentation to HTML
pres.Save("Converted.html", Aspose.Slides.Export.SaveFormat.Html, htmlOpt);
Download Running Example
- [CodePlex](https://asposeslidesvsto.codeplex.com/SourceControl/latest#Aspose.Slides Features missing in VSTO/Converting to HTML/)
- GitHub
- Code.MSDN
Download Sample Code
For more details, visit Converting Presentation to HTML.