O2S.Components.PDF4NET.View.Win Documentation
HighlightNextTextSearchResult(Boolean) Method



O2S.Components.PDF4NET.View.Content Namespace > PDFVisualContentLocator Class > HighlightNextTextSearchResult Method : HighlightNextTextSearchResult(Boolean) Method
If true then when the next text search result reaches the end of the collection, it goes back to the beginning.
Highlights the next text search result.
Syntax
'Declaration
 
Public Overloads Function HighlightNextTextSearchResult( _
   ByVal wrap As Boolean _
) As Boolean
'Usage
 
Dim instance As PDFVisualContentLocator
Dim wrap As Boolean
Dim value As Boolean
 
value = instance.HighlightNextTextSearchResult(wrap)
public bool HighlightNextTextSearchResult( 
   bool wrap
)
public:
bool HighlightNextTextSearchResult( 
   bool wrap
) 

Parameters

wrap
If true then when the next text search result reaches the end of the collection, it goes back to the beginning.

Return Value

True if the search result has been highlighted, false otherwise.
Remarks
This method has effect if the 'incrementalHighlight' parameter was true when the SearchText(String,PDFVisualSearchRange,PDFVisualTextSearchOptions,Boolean) has been called.
Requirements

Supported .NET Platforms: .NET 4.0 and higher, Windows Forms, ASP.NET, Windows Presentation Foundation 4.x, Silverlight 5, WinRT, Universal Windows Platform, Xamarin Mac, iOS & Android, Portable Class Library, .NET Core, .NET Standard


Target Platforms:Windows 10, Windows 8.1, Windows 8 , Windows 7, Windows Vista SP1 or later, Windows Server 2008, Windows Server 2008 R2

See Also

Reference

PDFVisualContentLocator Class
PDFVisualContentLocator Members
Overload List
SearchText(String,PDFVisualSearchRange,PDFVisualTextSearchOptions,Boolean) Method