O2S.Components.PDF4NET.View.Win Documentation
HighlightTextSearchResult Method



O2S.Components.PDF4NET.View.Content Namespace > PDFVisualContentLocator Class : HighlightTextSearchResult Method
Search result to highlight.
Highlights the specified search result in the associated O2S.Components.PDF4NET.View.PDFDocumentView control.
Syntax
'Declaration
 
Public Function HighlightTextSearchResult( _
   ByVal result As PDFVisualTextSearchResult _
) As Boolean
'Usage
 
Dim instance As PDFVisualContentLocator
Dim result As PDFVisualTextSearchResult
Dim value As Boolean
 
value = instance.HighlightTextSearchResult(result)
public bool HighlightTextSearchResult( 
   PDFVisualTextSearchResult result
)
public:
bool HighlightTextSearchResult( 
   PDFVisualTextSearchResult^ result
) 

Parameters

result
Search result to highlight.

Return Value

True if the search result has been highlighted, false otherwise.
Remarks
If the search result is not visible, the content is scrolled so that the search result becomes visible.
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
PDFDocumentView Class