pdfbox-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Maruan Sahyoun <sahy...@fileaffairs.de>
Subject Re: media box with rotation
Date Tue, 09 Jan 2018 08:32:49 GMT
> tilman mentioned this before that there is no convenience method available
> just wondering if anyone else made this work?
> i need a rectangle returned based on page orientation

you need to get the media box and the rotation. If the rotation has a
value different to 0 you need to swap the dimensions accordingly. 


> @maruan did you come across this case scenario?

To unsubscribe, e-mail: users-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: users-help@pdfbox.apache.org

View raw message