Hi,
I’m creating a new document and adding a table on page 1 with dynamic rows - it depends on the data that is coming, they could be 10 or 1000.
In case of many rows the doc will split to a new page automatically - is there a method that I can call to trigger this?
Currently, after adding those rows I’m calling doc.Save(dummyMemoryStream)
and is doing the job, but I’m wondering if there is a better way to do it.
I need to know how many pages are before applying the PageNumberStamp. If I do not do that dummy save the page numbers are not correct.
I’m using Aspose.Pdf v.17.2 C#