SearchNextOnPage

Top  Previous  Next

[This method is new in version 2.04 of Gnostice PDFtoolkit ActiveX/. NET ProPlus Edition]

 

The function SearchNextOnPage searches for  the next instance of the given text in the specified page number. If no match is found, the return value is 0.

 

Syntax

 

[VC++]

long SearchNextOnPage(LPDISPATCH* TextElement, long PageNo);

 

[CS]

public abstract new Int32 SearchNextOnPage ( gtPDFTextElementX TextElement, Int32 PageNo )

 

[VB]

Function SearchNextOnPage(TextElement As gtPDFTextElementX, PageNo As Long) As Long

 

 

Parameters

       

       TextElement

           Specifies the gtPDFTextElementX class object, which contains the searched text element.

 

       PageNo

            Specifies the page number in which the search is performed.

 

Refer example  'Tutorial - Search Text'