'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 O2S.Components.PDF4NET.View.PDFDocumentView control, false if all search results are highlighted together.
Return Value
A collection of zero or more search results.