Hi,
Our table takes less than 50% of the available page width and we would like it to break vertically on the same page. Example:
image.png (48.1 KB)
Here’s the sample code:
public static void Run()
{
Document doc = new Document();
Page page = doc.Pages.Add();var table = new Table { Broken = TableBroken.VerticalInSamePage }; page.Paragraphs.Add(table); for (int i = 0; i < 100; i++) { Row row = table.Rows.Add(); row.Cells.Add("Test " + i); } doc.Save("D:\\Temp\\table.pdf");
}
This code dos not work as expected:
image.png (8.4 KB)
Option “TableBroken.VerticalInSamePage” does nothing as we can tell. We would greatly appreciate any advice on how to achieve this.
Best regards, GConnect team.