- Posts: 16
- Thank you received: 1
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?
10 years 11 months ago #9641
by tanvi
Replied by tanvi on topic How to get index while storing a text annotation?
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.
-(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.
10 years 11 months ago #9642
by support
Replied by support on topic How to get index while storing a text annotation?
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)
- 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)
10 years 11 months ago #9643
by tanvi
Replied by tanvi on topic How to get index while storing a text annotation?
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?
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?
10 years 11 months ago #9644
by support
Replied by support on topic How to get index while storing a text annotation?
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.
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