Shino Shino - 2 months ago 20
Java Question

Getting the orientation of a PDF that has been read in through iText

I am reading in a PDF through iText. How can I check to see if the orientation of the first page is in landscape or portrait mode?


Try getPageRotation() combined with getPageSize()