XFINIUM.PDF.View.Wpf Documentation
HighlightTextSearchResult Method



Xfinium.Pdf.View.Content Namespace > PdfVisualContentLocator Class : HighlightTextSearchResult Method
Search result to highlight.
Highlights the specified search result in the associated Xfinium.Pdf.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 Presentation Foundation 4.x


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