I am looking for a solution to a problem I am having, where I need to find the height of the content of the last page of a PDF.
Probably by getting the bottom Y-coordinate of the last element on the page.
I am not looking to just append something at the end of the document, I just want the coordinate where the content of the page ends, so that I can figure out the percentage of remaining space left on the last page.