We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Huge space in pdf when html is converted to pdf using aspose pdf

When converting certain html content we are getting a huge space. The symptoms are as follows,

1) HTML has an element such as given below, If the

element comes right at the end of the pdf, the next page will have a huge space (3/4 of the page), followed by the table content. If we put some extra content so that the
element comes in a new page, we do not get a huge space.

The document attached has the html content and a description of the problem as well. When the html is pasted here, it just renders as a table in the web page.

Med-Surg History

Measure Name Range Units 2/17/2009


Hi Chris,

Thanks for your inquiry. I have tested the scenario with new DOM approach of HTML to PDF conversion and unable to notice the space issue. However, I have noticed that background-color css style is not being honored by Aspose.Pdf for .NET, so logged a ticket as PDFNEWNET-38032 in our issue tracking system for further investigation. We will notify you as soon as it is resolved.

We are sorry for the inconvenience caused.

Best Regards,

The issues you have found earlier (filed as PDFNET-38032) have been fixed in Aspose.PDF for .NET 18.11.