I can't see any way to get the page size (A4, US Letter, A3 etc) or the page orientation (portrait or landscape) using
PDF::API2
.
Are there any ways to get this information?
I can't see any way to get the page size (A4, US Letter, A3 etc) or the page orientation (portrait or landscape) using
PDF::API2
.
Are there any ways to get this information?
You probably want
$page->get_mediabox
The result is two x,y coordinates which will also define the orientation