in my document I am creating 3-4 pdfptables.
At design time I don’t know the size of the tables. I need to place the 2nd table right after the first, but I dont know the position of the first (I can’t calculate it because I dont know how big it is). How do I know where to place the second table?
You can figure out the total height of the table dynamically. After you use the
WriteSelectedRows()function, you can call the.TotalHeight()property to find out how tall your table was (in points). Then figure out with some calculations where it ends and where the next one should begin.