How to perform ‘Find all’ text while searching in Windows Forms PDF viewer?
We can achieve this by an workaround using the FindText() API to get all the occurrences of the searched text and using it to highlight in the PDF page and reloading it in viewer.
Please, refer the below code snippet to highlight all the occurrences of the searched text.
Please run the sample and type the text you want to search for in the Search textbox, then click “Find all”. All the instances of the searched text will be highlighted.
|Article ID:||Published Date:||Last Revised Date:||Platform:||Control:|