The help file says that if there is nothing found, the result of bResult := ImageEnView1.PdfViewer.Find( 'Adobe' );
is False. Unfortunately I find it is always True. I was trying to create a way to use Find/FindNext to search the whole document instead of a single page. I managed to get FindNext to recognize the end of a page and move to the next page. But if there is no find on the initial page, I can't detect that and move to another page and keep changing pages until the first Find is found.
Is there a way to search the whole document? Is the fact that Find yields true all the time a bug? I'm confused that HighlightText works for the entire document, but Find and FindNext do not.
That is great news. Thank you! I've been testing PDFium while I'm between projects. Shortly I will resume work on other things, giving plenty of time for these PDFium fixes to appear in your next release.