Microsoft Windows Phone 8.1 support ends (13 Jul 2017)

Microsoft has ended support for Windows Phone 8.1

Questions about iOS development and PDF

Method to remove all notes of a document

More
IP: 192.168.0.71 9 years 4 months ago #12361 by Pja
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?
More
IP: 192.168.0.71 9 years 4 months ago #12362 by emanuele
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]
Time to create page: 0.412 seconds
Powered by Kunena Forum