Thanks for the reply, but that's not exactly what I mean... I'm trying
avoiding having to write such a utility class (as it proves quite complex)
by simply resetting the rotation setting of the page, since my code works
fine with non-rotated pages. So I want to set the rotation to 0, without
actually rotating the contents of the page. Possible?


On Sat, Nov 10, 2012 at 6:43 PM, Duane Nickull <
[email protected]> wrote:

> There is a method in the API's called CreateLandscapePDF() that can make a
> page landscape (presume that is what you mean by rotated).   PDPage also
> has a findRotation() method if you require data.    YOu may have to build
> a utility class that can re-calculate the x, y, height, width coords and
> call it based on the results of the findRotation() method.
>
> Hope this helps.
>
> Duane
>
>
> ***********************************
> Technoracle Advanced Systems Inc.
> Consulting and Contracting; Proven Results!
> i.  Neo4J, PDF, Java, LiveCycle ES, Flex, AIR, CQ5 & Mobile
> b. http://technoracle.blogspot.com
> t.  @duanechaos
> "Don't fear the Graph!  Embrace Neo4J"
>
>
>
>
>
>
> On 2012-11-10 6:04 AM, "Gilad Denneboom" <[email protected]>
> wrote:
>
> >Hi guys,
> >
> >I hope someone can help me out with this annoying issue...
> >I'm adding highlights to a page and they come out in the wrong location.
> >I've discovered the reason is that some pages are rotated, but the
> >coordinates of the highlights are not in the rotated user space.
> >The ideal solution for me would be to reset the rotation definition of the
> >page without actually rotating it... The only other option I can think of
> >would be to convert the coordinates I have, which is quite a complex
> >operation, it seems.
> >
> >Any ideas on how to do that?
> >
> >Thanks in advance!
> >Gilad
>
>
>

Reply via email to