PDFView4NET WinForms Edition
SearchText(PDFTextRunCollection,String) Method




O2S.Components.PDFView4NET Namespace > PDFPage Class > SearchText Method : SearchText(PDFTextRunCollection,String) Method
Collection of text runs.
Text to search.
Searches a collection of text runs for the given text.
Syntax
'Declaration
 
Public Overloads Function SearchText( _
   ByVal textRuns As PDFTextRunCollection, _
   ByVal text As String _
) As PDFSearchTextResultCollection
'Usage
 
Dim instance As PDFPage
Dim textRuns As PDFTextRunCollection
Dim text As String
Dim value As PDFSearchTextResultCollection
 
value = instance.SearchText(textRuns, text)

Parameters

textRuns
Collection of text runs.
text
Text to search.

Return Value

List of search results.
Remarks
The collection of text runs is expected to be retrieved from the current page.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

PDFPage Class
PDFPage Members
Overload List