|
SearchFirstOnPage |
Top Previous Next |
|
[This method is new in version 2.04 of Gnostice PDFtoolkit ActiveX/. NET ProPlus Edition]
This function searches for the first instance of the given text on the specified page. If no match is found, the return value is 0. If a match is found, the return value is the index of the beginning of the searched text in the text property of the gtPDFTextElementX class object which is passed as a parameter.
Syntax
Parameters
SearchText Specifies the string to be searched.
TextElement Specifies the gtPDFTextElementX class object, which contains the searched text element.
CaseSensitive If set, the search is case sensitive.
WholeWord If set, searches for the whole word.
PageNo Specifies the page number in which the search is performed. |