ImageEn, unit iexUserInteractions

TIEPdfViewerInteraction.FindDialog

TIEPdfViewerInteraction.FindDialog


Declaration

function FindDialog(const s: string = ''; AllPages: Boolean = False): TFindDialog;


Description

Display a Find dialog so user can search for text in the current page.
s specifies the default text.
If AllPages is specified and the the search text is not found on the current page, the remainder of the document will be searched until the item is found (see note below).

Notes:
- You can use ClearSelection to clear the selected text
- When searching all pages, OnProgress will report what percentage of all pages have been searched. OnFinishWork will occur after searching completes


Demo

Demo  Demos\Other\PdfViewer\PdfViewer.dpr


Example

ImageEnView1.PdfViewer.FindDialog();


See Also

- CanFindNext
- FindNext
- Find
- ClearSelection