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

Highlight text annotation on selection

More
IP: 192.168.0.71 8 years 9 months ago #13203 by Yugandhara
Hi,
I need to highlight the note annotation with a black border on annot select.
I am not able to find the code to do that.
Please help me in identifying the code.
More
IP: 192.168.0.71 8 years 9 months ago #13204 by emanuele
Hi,

the annot rect is set when onSingleTap of PDFView class is called.
Then you can take a look at drawAnnot method to draw the black rectangle to highlight the annotation.
More
IP: 192.168.0.71 8 years 9 months ago #13207 by Yugandhara
If i am trying to call the drawAnnot method by passing context as UIGraphicsGetcurrentContext() then context is nil.
Please give me possible solution for this?
More
IP: 192.168.0.71 8 years 9 months ago #13216 by emanuele
Can you please better explain the steps of your custom implementation?
It's possible that you are calling drawAnnot method when the page is not loaded?
Time to create page: 0.403 seconds
Powered by Kunena Forum