Could that vertical area where the annotations are not rotated as well be
some kind of bounding box?

maybe it is possible to rotate that if it is indeed found within some kind
of container.

On Wed, Jan 10, 2018 at 8:42 PM, Maruan Sahyoun <[email protected]>
wrote:

> 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