Table, break vertically on the same page

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


for (int i = 0; i < 100; i++)
    Row row = table.Rows.Add();
    row.Cells.Add("Test " + i);



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.


We have also noticed similar behavior in the API while testing your code snippet. An investigation ticket is registered as PDFNET-53435 in our issue tracking system to further analyze this case. We will look into the ticket details and let you know as soon as it is resolved. Please be patient and spare us some time.

We are sorry for the inconvenience.