I have a set of a few thousand pdf files and I need to add a text at the top of each file. The pages have a set width but variable height.
I can use use PDF::API2 and the textlabel method to add the text, however I need to know the page height of the documents in order to place the text at the right height so that the text is consistently at the same distance from the top of the page.
Any ideas of how I can get the value of the page height?