Blank Page Is Rendered when Converting PPTX to HTML

Hi Aspose support,
In our product we have the functionality that converts PPT document to html.
We are using Aspose.Slides.NET (22.7.0) library.
After conversion PPT document to html, blank page getting rendered.
This issue occurs for all PPT that consist of only one slide.

Issue :issue.PNG (57.8 KB)

(left side PPT document -right side converted document view)
Source document: (39.4 KB)

Resulted document after (832 Bytes)

sample source (1.0 KB)

Expected result: Converted html should be the same as PPT document with comments.

Please help on this.

Thank you for contacting support.

Please test your app code carefully, it looks like the issue is not related to Aspose.Slides. If the issue persists, please share a compilable code example instead of the above.

Please also note that you should use the HtmlOptions.NotesCommentsLayouting property and INotesCommentsLayoutingOptions.CommentsPosition property to display comments in the exported HTML document.

exportHtmlOptions.NotesCommentsLayouting.CommentsPosition = CommentsPositions.Right;

Documents: Convert PowerPoint (PPT, PPTX) to HTML in C# .NET

Thankyou for response.
Using HtmlOptions.NotesCommentsLayouting.CommentsPosition = CommentsPositions.Bottom;
able to rendered single slide pptx with comments. But single slide pptx with out comments was not able to rendered(blank page rendered).

without comments pptx:Charts Box & (40.9 KB)

with comments pptx :Comments Blank Author and (39.5 KB)

Please help on this.

Unfortunately, I was unable to reproduce the problem you are experiencing. I used the following code snippet:

var htmlOptions = new HtmlOptions();
htmlOptions.NotesCommentsLayouting.CommentsPosition = CommentsPositions.Bottom;

using (var pres = new Presentation("Charts Box & Wisker.pptx"))
    pres.Save("output.html", SaveFormat.Html, htmlOptions);

Result: (2.6 KB)

Please share the following data and information:

  • compilable code example that reproduces the problem
  • OS version on which the code was executed
  • .NET target platform in your app


We are able to render the converted html for single side and multiple slides.

Thankyou for the support.

We are glad to know that the issue has been resolved on your end. Thank you for using Aspose.Slides.

1 Like