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

Free Support Forum - aspose.com

Table row content breaks between pages while converting HTML to PDF .net

Hi,
I m converting HTML string to PDF using Aspose PDF .net. After converting, HTML table row content in PDF is breaking into two pages. I want to show complete row in one page without breaking. If content is more in that row, move that row into next page instead of showing some data in one page and some data in next page in PDF.

@agangula,

After inserting an HTML content, you can extract table and iterate through the rows. The Row class offers a member IsInNewPage and you need to set its value to true. Please refer to this help topic: Add and Extract a Table