Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #10259 Reply

    Mario Lopez

    Hi,

    In our next generation application we must support annotations for web client and sync them between mobile android and ios clients

    we have noticed that the annotations are drawn on the pdf render by coordinates
    eg:
    <gesture >342.500000,557.500000;341.500000,557.500000;339.500000,557.500000;320.500000,554.500000;288.500000,551.000000;254.000000,547.500000;219.500000,545.000000;191.500000,543.000000;167.500000,540.000000;145.500000,533.000000;123.500000,520.500000;98.500000,487.500000;76.000000,448.500000;69.500000,428.500000 </gesture>

    rect=”60.000000,584.000000,84.500000,608.000000″

    since the coordinates seem to be indipendent from screen size , how these coordinates are calculated? how can we use this coordinate to draw the same annotation in our web client and from our web client annotations coordinates calculate them back to plugPdf ?

    Thanks
    Mario
    Android developer at Intuition

    #10264 Reply

    Dr. Plug
    Moderator

    Hi Mario,

    Thank you for your inquiry. Maybe you inquired about XFDF. Right?

    Actually our SDK export annotation to xfdf to comply with PDF Reference. This means, all the coordinates data is based on the coordinate of PDF.

    I think, when draw annotation on WebBrowser, you can calculate like below.

    Best Regards
    Dr. Plug

    #10273 Reply

    Mario Lopez

    Thanks
    we will try this
    Best Regards
    Mario

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: Annotation drawing coordinates in different client
Your information: