pdfbox-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chitgoks <chitg...@gmail.com>
Subject Re: pdf with vertical mediabox but landscape rotation
Date Sun, 07 Jan 2018 02:11:25 GMT
hi tilman

does this means adding annotations in landscape is not supported yet?

thanks

On Sat, Jan 6, 2018 at 7:35 PM, Tilman Hausherr <THausherr@t-online.de>
wrote:

> Am 06.01.2018 um 11:19 schrieb chitgoks:
>
>> regarding my previous email on landscape
>>
>> it looks like portrait or landscape have same bbox but for landscape there
>> is a rotation value
>>
>> does pdfbox have some sort of convenience method to get bbox (like in
>> itext
>> page.getPageSizeWithRotation()) based on rotation? or how to do this
>> manually in pdfbox?
>>
>>
> You'll have to do it by hand, see in PDFRenderer how the page is prepared.
>
> If you support the "NoRotate" flag (which PDFBox does not support yet in
> rendering annotations) then it is more tricky.
>
> Tilman
>
>
>
> ---------------------------------------------------------------------
> 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