Signin/Signup with: 
Welcome, Guest
Username: Password: Remember me
Tell us about your applications and your projects.
  • Page:
  • 1

TOPIC:

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

  • scott2srikanth
  • scott2srikanth's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • 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 8 years 11 months ago #8966

  • Davide
  • Davide's Avatar
  • Offline
  • User is blocked
  • User is blocked
  • Posts: 814
  • Thank you received: 65
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