How to get Annotation information back from PDFAnnot? - 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 to get Annotation information back from PDFAnnot?

How to get Annotation information back from PDFAnnot? 8 months 5 days ago #13572

  • doubleeye
  • doubleeye's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 21
  • Thank you received: 0
Hi
I have Business object
Like
Annotation
{
name, id, left , right, bottom , top, pageNo.
}

I want to get annotation information (Annotation object) when user taps on annotations. Currenlty I am getting PDFAnnot object, how can I manage to map PDFAnnot object with my custom Annotation object.?

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

How to get Annotation information back from PDFAnnot? 8 months 4 days ago #13578

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

you can create an init method that uses a PDFAnnot instance to initialize your custom Annotation class.
You can use PDFAnnot methods like [PDFAnnot getRect:(PDF_RECT *)rect] to get annot informations and populate your custom class.

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

  • Page:
  • 1
Powered by Kunena Forum