SearchText(String,PDFSearchTextOptions) Method
Searches the page for the given text.
Syntax
'Declaration Public Overloads Function SearchText( _ ByVal text As String, _ ByVal options As PDFSearchTextOptions _ ) As PDFSearchTextResultCollection
'Usage Dim instance As PDFPage Dim text As String Dim options As PDFSearchTextOptions Dim value As PDFSearchTextResultCollection value = instance.SearchText(text, options)
public PDFSearchTextResultCollection SearchText( string text, PDFSearchTextOptions options )
Parameters
- text
- Text to search.
- options
- Options for searching the page content
Return Value
List of search results.
Requirements
Target Platforms: Windows 7, Windows 10, Windows 11, Windows Server 2022, Windows Server 2025
See Also