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:
asp.net dicom viewer: ASP.NET Dicom Document Viewer Control: view, annotate dicom imaging files online in ASP.NET
asp.net pdf viewer control: ASP.NET PDF Viewer Control: view, navigate, zoom Adobe PDF document in C# ASP.NET
asp.net edit pdf image control: ASP.NET PDF Image Edit Control: online insert, edit PDF images in C#
asp.net edit pdf text color: ASP.NET PDF Text Edit Control: online edit PDF text content using C# ASP.NET
asp.net pdf document viewer: ASP.NET PDF Document Viewer in C#: open, display, view, annotate, redact Adobe PDF files online in ASP.NET MVC & WebForm...
asp.net tiff viewer control: ASP.NET Tiff Viewer: view, annotate multipage Tiff images in ASP.NET MVC, WebForms using C# Control
asp.net document viewer control: EdgeDoc:ASP.NET Document Viewer C# Control: Open, view, annotate, redact, convert documents online in C#, VB.NET, AS...


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