|
|
|
|
<PDF Reader>.SeekFirst (Function) In french: <Lecteur PDF>.RecherchePremier Initializes the search for a text in a PDF file displayed by the PDF Reader control and positions on the first occurrence found (from the current page). The text found is selected. // Seeks a text in a PDF Reader control and displays it PDF_MyPDFReader.SeekFirst("company") // Finds the next element IF PDF_MyPDFReader.SeekNext() = False THEN Info("Search ended") END Â // Finds the previous element PDF_MyPDFReader.SeekPrevious()
Syntax
<Result> = <PDF Reader control>.SeekFirst(<Text to find> [, <Options>])
<Result>: Boolean - True if the text was found in the document,
- False if the text was not found.
<PDF Reader control>: Control name Name of PDF Reader control to use. <Text to find>: Character string Text to find in the content of PDF Reader control. <Options>: Optional constant (or combination of constants) Search options: | | IgnoreCase | Case and accent insensitive search (ignores uppercase and lowercase differences). | WholeWord | Search for the whole word (enclosed in punctuation characters or in space characters). |
By default, the search is case-sensitive: the searched text and the text to find must have the same case. To perform a case-insensitive search, use the IgnoreCase constant.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|