How to get Annotation information back from PDFAnnot? - RadaeePDF.com
Signin/Signup with: 
Welcome, Guest
Username: Password: Remember me
01 Jun 2018
During last few days we're experiencing some delay in website stmp provider channel.
Some notification email from the website might not reaching containers.
We're working on a definitive solution.
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? 3 months 2 weeks 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? 3 months 1 week ago #13578

  • emanuele
  • emanuele's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 495
  • Karma: 15
  • Thank you received: 53
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