Handeling two annotations in same page - RadaeePDF.com
Signin/Signup with: 
Welcome, Guest
Username: Password: Remember me
13 Jul 2017
Microsoft has ended support for Windows Phone 8.1
Read More...
Tell us about your applications and your projects.
  • Page:
  • 1

TOPIC: Handeling two annotations in same page

Handeling two annotations in same page 2 years 11 months ago #8965

  • scott2srikanth
  • scott2srikanth's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 6
  • Thank you received: 0
Hi Team
I am writing a code for integrating signature in the PDF.
I am using a rect annotation for background and ink annotation for sign.
When I single tap on rect annotation i am able to scale and set ink_status to true.
Till here its working fine.
But when I edit the sign the scale and position alters as it takes the coordinates of ink component, where as I need scale and position of the rect annotation.
Can't we handle two annotations at same instatnce i.e
on a single tap get the annotations(rect and ink) from the coordinates?

Please Log in or Create an account to join the conversation.

Handeling two annotations in same page 2 years 11 months ago #8966

  • Davide
  • Davide's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 778
  • Karma: 16
  • Thank you received: 61
Hi,
keep in mind that in a page there can be a lot of annotation, when you touch your overlapping annotations it intercepts the one on the top (your ink annotation).

With this method you can get the rect of your annotation. (maybe it can help you):
Annotation.GetRect()

You can get annot from point using this method:
Annotation.GetAnnotFromPoint(float x, float y)
For more info check this this

Can you please send us your pdf and the code you have modified? If it is private you can send it with a ticket .
The following user(s) said Thank You: scott2srikanth

Please Log in or Create an account to join the conversation.

Last Edit: by Davide.
  • Page:
  • 1
Powered by Kunena Forum