Shino Shino - 1 month ago 8
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()