'DeclarationPublic Overloads Function SearchText( _ ByVal text As String, _ ByVal searchRange As PdfVisualSearchRange, _ ByVal searchOptions As PdfVisualTextSearchOptions, _ ByVal incrementalHighlight As Boolean _ ) As PdfVisualTextSearchResultCollection
'UsageDim instance As PdfVisualContentLocator Dim text As String Dim searchRange As PdfVisualSearchRange Dim searchOptions As PdfVisualTextSearchOptions Dim incrementalHighlight As Boolean Dim value As PdfVisualTextSearchResultCollection value = instance.SearchText(text, searchRange, searchOptions, incrementalHighlight)
Parameters
- text
- Text to find in page content.
- searchRange
- The range for searching text
- searchOptions
- A set of options that specify how the text search should be performed.
- incrementalHighlight
- True if the search results should be highlighted one by one in the Xfinium.Pdf.View.PdfDocumentView control, false if all search results are highlighted together.
Return Value
A collection of zero or more search results.