Q: I have a pdf with a rotated page inside.
The page has all the boxes inside.
How could I catch all the boxes correctly?
For example, I have an A3 of 420x297. But internally it's rotated.
So if I call the getMediaBox() it returns 841,89 x 1190,55 and not the
But I have also other boxes with other coordinates.
How could I catch the boxes correctly considering the page rotation?
A: You can use page.GetRotation() to obtain page rotation and
page.GetBox(Page.Box.e_crop) to obtain a spcific box in its original