Free Support Forum - aspose.com

Tables Splitting Across Pages

Hi

Using the documentBuilder, I know how to stop table rows splitting across pages, but is there a way of stopping the whole table splitting across pages.

Regards
Mike Cook

Hi Mike,

Simply put DocumentBuilder.ParagraphFormat.KeepWithNext = true before calling DocumentBuilder.StartTable.

Thanks for the quick response. The solution works.

Regards
Mike Cook