プレゼンテーションをHTMLに変換

HTML は、データ交換に広く使用されているフォーマットのひとつです。Aspose.Slides for .NET は、プレゼンテーションを HTML に変換するサポートを提供します。以下は、その方法を示すコードスニペットです。

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);

実行例のダウンロード

サンプルコードのダウンロード