Microsoft Windows Phone 8.1 support ends (13 Jul 2017)

Microsoft has ended support for Windows Phone 8.1

Questions about Windows 8.1, 10, WindowsPhone, Windows UWP

Search text highlight

More
11 years 2 days ago #9602 by Pja
Search text highlight was created by Pja
hi,
When i search a text the searched text is highlighted and displayed on the pdf.
but when i click on cancel button to cancel the search, the text is still highlighted and highlight disappears when i scroll the pdf.
Can you tell me how can i disable the highlight on the text on click of cancel button.?
More
11 years 2 days ago #9603 by support
Replied by support on topic Search text highlight
which platform are you interested to?
More
11 years 6 hours ago #9608 by Pja
Replied by Pja on topic Search text highlight
Windows
More
10 years 11 months ago - 10 years 11 months ago #9616 by support
Replied by support on topic Search text highlight
You should invoke the
Code:
vDraw();
when finishing the search phase.

your could would look like that below:
Code:
public void vFindEnd() { if (m_pages == null) return; m_finder.find_end(); // clean highlight vDraw(); }

I've just forwarded your note to dev team.
Last edit: 10 years 11 months ago by support.
More
10 years 11 months ago #9631 by goldkyo
Replied by goldkyo on topic Search text highlight
Hi, actually this behavior is kind of "works as designed". Since from my experience, I might lost my keyword as soon as the text highlight goes. This really bothers me sometimes. And of course, if you do not want this behavior, you can redraw the page by calling vDraw() method as suggested in previous post. That should be good enough.
Time to create page: 0.414 seconds
Powered by Kunena Forum