Posted by a ceTe Software moderator
Hello,
Thanks for sending all the details to our support team. Our developers analyzed this and marked the VisibleStartRow as public member using which you can get the starting row number of the table. This feature is included in v8.0.1 DynamicPDF API. You can download the v8.0.1 DynamicPDF product including this feature from our website
here. Also below is code sample to use VisibleStartRow property.
Document document = new Document();
string someText = "Text to test ";
Table2 table = new Table2(0, 0, 400, 700);
table.Columns.Add(200);
for (int i = 1; i < 500; i++)
{
Row2 row = table.Rows.Add();
Cell2 cell1 = row.Cells.Add(someText + i);
cell1.Splittable = true;
}
do
{
Page page = new Page();
document.Pages.Add(page);
int startRow = table.VisibleStartRow;
page.Elements.Add(table);
table = table.GetOverflowRows();
} while (table != null);
document.InitialPageZoom = PageZoom.FitPage;
document.Draw(@"C:\Temp\Mydocument.pdf");
Thanks,
ceTe Software Support Team.