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

Questions about "Search"-function

More
IP: 37.183.44.177 7 years 7 months ago #13996 by nermeen
This is the default behavior (searching only for the next/prev occurence).

You can implement the behavior that suits your needs, in this case searching the whole pdf file to get the # of matches that can be found.

For a guide please check www.radaeepdf.com/support/knowledge-base?view=kb&kbartid=137
More
IP: 37.183.44.177 7 years 7 months ago #14009 by nermeen
You can create a method like vFindGoto, that works on the data you have.

For example:
Code:
int pg = m_finder.find_get_page();
will be substituted with
Code:
result[i].Page
and
Code:
PDFRect pos = m_finder.find_get_pos();
will be substituted with
Code:
m_page.ObjsGetCharRect(result[i].CharacterPosition)

You will also need to highlight the search result, check vDraw:
Code:
if (m_finder.find_get_page() == cur) m_finder.find_draw(m_extra, vpage, left, top);
Time to create page: 0.378 seconds
Powered by Kunena Forum