I generate a PDF with MigraDoc in C# with a table that may contain several rows (that can run over many pages). At the end of this document, I have to add an "ending part" with a table and some paragraphs. The problem is : this ending part musn't be cut/separated between two pages. This ending part has a height, and if I've enought height on my page, I put it there, otherwise, I must jump to a new page and add it there.
Unfortunately, I don't find a way to do that. My table's rows doesn't have fixed height so my table neither. How can I find the "spared space" ? I'm sure I'm not the only one with this problem. Do you have any tricks ?
Thank you in advance