An object that contains information about the search results that are to be displayed in the RadPdfViewer.
Definition
Namespace:Telerik.Maui.Controls.PdfViewer
Assembly:Telerik.Maui.Controls.dll
Syntax:
C#
public class PdfViewerTextSearchResult
Inheritance: objectPdfViewerTextSearchResult
Constructors
Initializes a new instance of PdfViewerTextSearchResult class.
C#
public PdfViewerTextSearchResult(IReadOnlyCollection<SearchResult> searchResults, SearchResult mainSearchResult = null)
Fields
MainSearchResult
SearchResult
Gets the main search result. This is the one currently highlighted by the MainSearchResultFill color.
C#
public readonly SearchResult MainSearchResult
A PdfViewerTextSearchResult instance, representing no search result found.
C#
public static readonly PdfViewerTextSearchResult NotFound
SearchResults
IReadOnlyCollection<SearchResult>
Gets a collection of all search results, including the MainSearchResult, found by a search operation.
C#
public readonly IReadOnlyCollection<SearchResult> SearchResults