Andreas,

the format of a PDF-page is handled in the PDpage-object. The javadoc gives an overview on the methodes provided by pdfbox:

http://www.pdfbox.org/javadoc/org/pdfbox/pdmodel/PDPage.html

Have a look at:

findCropBox()
findMediaBox()
getBleedBox()
getCropBox()

These methods return a PDRectangle, which gives you the size of the PDpage you're dealing with.

BR
Erik,

Roeder, Andreas wrote:
Hello,

How can I find out the page format of a PDF, e.g. DINA4?

Best Regards,

Andreas

Reply via email to