- Posts: 18
- Thank you received: 0
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
- Yugandhara
- Topic Author
- Offline
- New Member
-
Less
More
IP: 192.168.0.71
8 years 9 months ago #13203
by Yugandhara
Highlight text annotation on selection was created 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.
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.
IP: 192.168.0.71
8 years 9 months ago #13204
by emanuele
Replied by emanuele on topic Highlight text annotation on selection
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.
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.
- Yugandhara
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 18
- Thank you received: 0
IP: 192.168.0.71
8 years 9 months ago #13207
by Yugandhara
Replied by Yugandhara on topic Highlight text annotation on selection
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?
Please give me possible solution for this?
IP: 192.168.0.71
8 years 9 months ago #13216
by emanuele
Replied by emanuele on topic Highlight text annotation on selection
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?
It's possible that you are calling drawAnnot method when the page is not loaded?
Time to create page: 0.403 seconds