RadaeePDF.com :: Topic: Handeling two annotations in same page (1/1)
Welcome, Guest
Username: Password: Remember me

Signin/Signup with:

Tell us about your applications and your projects.

TOPIC: Handeling two annotations in same page

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

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?
The administrator has disabled public write access.

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

  • Davide
  • Davide's Avatar
  • OFFLINE
  • Moderator
  • Posts: 678
  • Thank you received: 47
  • Karma: 14
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.
Last Edit: 2 years 4 months ago by Davide.
The administrator has disabled public write access.
The following user(s) said Thank You: scott2srikanth
Powered by Kunena Forum