|
How to clear search results and search box after calling SearchText()? |
To clear the search results programmatically, kindly search the empty string using SearchText API of PdfViewerControl. Please find the code snippet to clear the search results.
| |
|
GoToPageAtIndex( CurrentPageIndex - 1 ) doesn't navigate to previous page, if there is an active search term.
If I manually clear the search box, then touch buttons perform as expected.
|
We were able to reproduce the issue and suspect this to be a defect. We will analyze further and update more details on 19th October 2018. |
To clear the search results programmatically, kindly search the empty string
| Is there a way to detect if previous search has ended, before searching for an empty string? For example following code does not find the search term.
|
|
pdfViewerControl.ScrollToOffset(100, pdfViewerControl.VerticalOffset); // Horizontal offset value starts from zero. You can change the horizontal value based on your requirement. |