Quantcast
Channel: DevExpress Support Center (Examples)
Viewing all articles
Browse latest Browse all 7205

How to find text using a keyboard shortcut

$
0
0
This example shows how to execute the Find Next action by pressing the F3 shortcut after an end-user specified search options in the Find Text dialog. 

To do this, handle the PdfViewer.KeyDown event. If the F3 key is pressed, call the overloaded PDFViewer.FindText  method and pass the text to search and search parameters obtained from the Find Text dialog to this method.  

The text search settings (e.g, search text, whole words, case sensitive) applied by an end-user in the Find Text dialog can be accessed using the PdfViewer.FindDialogOptions property.


Viewing all articles
Browse latest Browse all 7205

Trending Articles