How to get index while storing a text 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
  • 2

TOPIC: How to get index while storing a text annotation?

How to get index while storing a text annotation? 3 years 2 months ago #9558

  • tanvi
  • tanvi's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 16
  • Thank you received: 1
Need to retrieve the index value that RadaeePDF internally stores. Please let me know the sequence in which the methods are invoked inorder to store a text annotation.

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

How to get index while storing a text annotation? 3 years 2 months ago #9561

  • emanuele
  • emanuele's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 516
  • Karma: 15
  • Thank you received: 56
Hi,
you should take a look at vAddTextAnnot method (PDFView class)
The following user(s) said Thank You: tanvi

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

How to get index while storing a text annotation? 3 years 1 month ago #9633

  • tanvi
  • tanvi's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 16
  • Thank you received: 1
Hi Emanuele,

I have tried retrieving the index value for PDFAnnot's but was unable to get the correct index value since it was returning different values everytime you open the same PDF.
Also, the index value for the 1st note created was not always 0. For some PDF files it started with 15, as the annotCount returned was 16.

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

How to get index while storing a text annotation? 3 years 1 month ago #9635

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

I tried to reproduce this issue, but I get always the same index for the same annotation.
What kind of annotation are you using?
Can you share the pdf used for this test?

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

How to get index while storing a text annotation? 3 years 1 month ago #9639

  • tanvi
  • tanvi's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 16
  • Thank you received: 1
Hi,

Annotation is type of note (m_status = sta_note).
The PDF is "help.pdf" used in your demo project for iOS.
Will it make a difference if we have completely disabled the scrolling of PDFView?

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

How to get index while storing a text annotation? 3 years 1 month ago #9640

  • support
  • support's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 571
  • Karma: 6
  • Thank you received: 46
may you send us one of your annotated file?
may be put here your code snippet you're using to
- create annotation
- retrive annotations

One more question: are you removing annotations from page?

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

Last edit: by support.
  • Page:
  • 1
  • 2
Powered by Kunena Forum