C#: Online Guide
How To: powerpoint SDK
Convert PowerPoint to HTML5
Convert PowerPoint to HTML5
  |  
Home ›› XDoc.PowerPoint ›› C# PowerPoint: Convert PowerPoint to HTML5

C# PowerPoint - Convert PowerPoint to HTML in C#.NET


How to Convert PowerPoint to HTML Webpage with C# PowerPoint Conversion SDK




PowerPoint to HTML Conversion Overview



Our PowerPoint to HTML converter library control is a 100% clean .NET document image solution, which is designed to help .NET developers convert PowerPoint to HTML webpage using simple C# code. This Visual C#.NET PowerPoint to HTML conversion control component makes it extremely easy for C# developers to convert and transform a multi-page PowerPoint document and save each PowerPoint page as a separate HTML file in .NET class application.


Related .net document control helps:
view file asp.net: View multiple document formats in ASP.NET, MVC, Ajax, Azure using C# control
c# asp.net pdf document viewer: ASP.NET PDF Document Viewer in C#: view, annotate, redact Adobe PDF files online in ASP.NET
asp.net annotate pdf using c#: ASP.NET Annotate PDF Control: annotate, comment, markup PDF document online using ASP.NET C#
c# asp.net document redaction: Redact document ASP.NET: add, delete, apply redaction on PDF files in web browser using C#.net
asp.net pdf file permission using c#: ASP.NET PDF File Permission Control: apply, remove PDF file permission settings in C#
asp.net edit pdf image using c#: ASP.NET PDF Image Edit Control: online insert, edit PDF images in C#
asp.net mvc pdf editor using c#: ASP.NET MVC PDF Editor: view, annotate, redact, edit PDF document in C# ASP.NET MVC


The HTML document file, converted by C#.NET PowerPoint to HTML converter toolkit SDK, preserves all the original anchors, links, bookmarks and font style that are included in target PowerPoint document file. Besides, the converted HTML webpage will have original formatting and interrelation of text and graphical elements of the PowerPoint.


This C#.NET PowerPoint to HTML conversion library can eliminate the crashing issue of web browser when it is trying to display a PowerPoint document file inside a browser window. Besides, this PowerPoint converting library also makes PowerPoint document visible and searchable on the Internet by converting PowerPoint document file into HTML webpage.




C#: Convert PowerPoint Document to HTML5 Files



Add references:


  RasterEdge.Imaging.Basic.dll


  RasterEdge.XDoc.Office.Inner.Common.dll


  RasterEdge.Imaging.Drawing.dll


  RasterEdge.Imaging.Processing.dll


  RasterEdge.XDoc.Office.Inner.Office03.dll


  RasterEdge.Imaging.Font.dll


  RasterEdge.XDoc.PowerPoint.dll


  RasterEdge.XImage.Raster.Core.dll


  RasterEdge.XImage.Raster.dll


  RasterEdge.Imaging.Basic.Codec.dll


  RasterEdge.Imaging.SVG.dll


Use corresponding namespaces;


  using RasterEdge.Imaging.Basic;


  using RasterEdge.XDoc.PowerPoint;


This is a C# programming example for converting PowerPoint to VectorImages(HTML5/SVG).




//load PowerPoint document
PPTXDocument docx = new PPTXDocument(@"C:\demoInput\demo.docx");

//convert to html5 files
docx.ConvertToVectorImages(ContextType.HTML, @"C:\htmlOutput\", "test", RelativeType.HTML);

//convert to svg files
docx.ConvertToVectorImages(ContextType.SVG, @"C:\svgOutput\", "test", RelativeType.SVG);