Hi,
> Am 10.01.2018 um 12:41 schrieb chitgoks <[email protected]>:
> 
> Hi maruan
> 
> i tried it like this
> 
> PDRectangle rectToUse = pdPage.getMediaBox();
>                 
>                 if (pdPage.getRotation() != 0 && pdPage.getRotation() != 180)
>                     rectToUse = new PDRectangle(0, 0, 
> pdPage.getMediaBox().getHeight(), pdPage.getMediaBox().getWidth());
> 
> the annotations do not get rotated. they do not have the NO ROTATE flag.
> 
> does this mean i have to manually recalculate the coordinates?

Yes

BR
Maruan


> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to