We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

SfPdfViewer multiple results handling in search view

Hi, when we hit search on a pdf doc with a key word, usingSfPdfViewer, all the keywords are underlined in the document, but we cannot currently navigate to them as only thefirst resultpops out. If I change the page, I will be able to get to the next result (I need to hit search again), and so on.Is it possible to search through out the document for other compatible results by adding an up/down button (next result, or previous result)
I guess that is clear as mud
Thanks
Nicolas

2 Replies

NI Nicolas October 9, 2017 04:13 AM UTC

it was right there, under my nose:

pdfViewerControl.SearchPrevious();

pdfViewerControl.SearchNext();

Thanks anyways!




BS Balasubramanian Sundararajan Syncfusion Team October 9, 2017 05:43 AM UTC

Hi Nicolas, 
 
We are glad that you have found the solution for your requirement. You can also refer to the following online getting started documentation for more details, 
 
 
Please get back to us if you require any assistance. 
 
Thanks, 
Balasubramanian  


Loader.
Live Chat Icon For mobile
Up arrow icon