Signin/Signup with: 
Welcome, Guest
Username: Password: Remember me
Questions about iOS development and PDF
  • Page:
  • 1

TOPIC:

How to get Annotation information back from PDFAnnot? 6 years 1 month ago #13572

  • doubleeye
  • doubleeye's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • 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? 6 years 1 month ago #13578

  • emanuele
  • emanuele's Avatar
  • Offline
  • User is blocked
  • User is blocked
  • Posts: 580
  • Thank you received: 67
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