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



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

Parameters

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

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