How can I get the coordinates of an annotation? - 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...
Questions about iOS development and PDF
  • Page:
  • 1

TOPIC: How can I get the coordinates of an annotation?

How can I get the coordinates of an annotation? 2 years 3 weeks ago #11336

  • Shades
  • Shades's Avatar Topic Author
  • Offline
  • User is blocked
  • User is blocked
  • Posts: 37
  • Thank you received: 0
Hello
How can I get the coordinates of an annotation after adding it ( x,y)?

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

How can I get the coordinates of an annotation? 2 years 2 weeks ago #11339

  • emanuele
  • emanuele's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 512
  • Karma: 15
  • Thank you received: 56
Hi,

you can get the annotation rect with getRect method of PDFAnnot and use rect.left as x and rect.top as y

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

  • Page:
  • 1
Powered by Kunena Forum