ImageEn, unit iexUserInteractions

TIEPdfViewer.FindCountInPage

TIEPdfViewer.FindCountInPage


Declaration

function FindCountInPage(const s: string; MatchCase: Boolean = False; MatchWholeWord: Boolean = False): Integer;


Description

Returns a count of the number of instances of text in the current page.
Parameter Description
s The text to search for
MatchCase Enable for a case sensitive search
MatchWholeWord Enable to require the search text to match the whole word


Example

// Find the number of instances of "Adobe" in the current page
findCount := ImageEnView1.PdfViewer.Find( 'Adobe' );


See Also

Find
CanFindNext
FindNext
FindDialog
ClearSelection