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

Free Support Forum - aspose.com

Problems with pageBreak inside a table


i have a table which takes longer them one page.
the page brakes inside the table despite haveing these code lines.

NodeCollection rows = doc.GetChildNodes(NodeType.Row, true);
foreach(Row row in rows)
    row.RowFormat.AllowBreakAcrossPages = false;

any ideas ?

Thankes (Doc attached


Thanks for your inquiry. What I understand here in your input document is you’re grouping certain table rows i.e. separated by thick borders and not requiring these groups of rows to be spanned across pages instead these should be placed as a single unit on the next page. I think, you can achieve what you need after following the steps demonstrated below:


If we can help you with anything else, please feel free to ask.

Best Regards,