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

How to get index while storing a text annotation?

More
10 years 11 months ago #9641 by tanvi
Creating annotation by using PDFView’s method :
-(void)vAddTextAnnot:(int)x :(int)y :(NSString *)text

Retrieving the index of object “annot” in the following method of class RDPDFViewController:
-(void)OnAnnotClicked:(PDFPage *)page :(PDFAnnot *)annot :(float)x :(float)y

No I'm not removing the annotations for now.
More
10 years 11 months ago #9642 by support
If not deleting, I've just checked on Android and Windows (colleagues that work on iOS are actually busy) and I can confirm that:
- annotation are recorded in a sort of fifo list
- when adding a new annotation its counter is the higher one
- if you retrive annotations' index you will get overtime the same number (if you don't delete an inner annotation)
More
10 years 11 months ago #9643 by tanvi
Thanks!

I have been trying the same. But got annotCount as 16 even if there was not a single annotation.
Does disabling the scrolling of view affect in anyways?
More
10 years 11 months ago #9644 by support
Your file could contains not visible annotations.
As told, you should forward it to us.
May be, open a support ticket and upload it there.
When opening the ticket, enter the url of this forum thread.
Time to create page: 0.401 seconds
Powered by Kunena Forum