pdfbox-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chitgoks <chitg...@gmail.com>
Subject Re: media box with rotation
Date Tue, 09 Jan 2018 08:38:26 GMT
oh thats it?

lol sorry. my bad. i thought thered be some other things needed in order to
get the correct mediabox dimension

thanks

On Tue, 9 Jan 2018 at 4:33 PM Maruan Sahyoun <sahyoun@fileaffairs.de> wrote:

> Hi,
>
> > 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.
>
> BR
> Maruan
>
>
> >
> > @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
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message