Method to remove all notes of a document - 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: Method to remove all notes of a document

Method to remove all notes of a document 1 year 7 months ago #12361

  • Pja
  • Pja's Avatar Topic Author
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 45
  • Thank you received: 0
Hi,

I need to delete all the notes of a document.
Is there any method for this? Or is there any other way this can be done?

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

Method to remove all notes of a document 1 year 7 months ago #12362

  • emanuele
  • emanuele's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 525
  • Karma: 20
  • Thank you received: 60
Hi,

there is not a specific method to do this, but you can do it in this way:
- iterate pages with [PDFDoc page] method
- iterate annotation for each page using [PDFPage annotAtIndex]
- delete the annotation using [PDFAnnot removeFromPage]

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

  • Page:
  • 1
Powered by Kunena Forum