Class PdfViewerSearchContext
A structure containing information about the search operation.
Inheritance
Namespace: Telerik.Maui.Controls.PdfViewer
Assembly: Telerik.Maui.Controls.dll
Syntax
public sealed class PdfViewerSearchContext : ValueType
Constructors
PdfViewerSearchContext(RadPdfViewer, RadFixedDocument, String, TextSearchOptions, IProgress<PdfViewerTextSearchResult>, CancellationToken)
Initializes a new instance of PdfViewerSearchContext class.
Declaration
public PdfViewerSearchContext(RadPdfViewer pdfViewer, RadFixedDocument document, string text, TextSearchOptions textSearchOptions, IProgress<PdfViewerTextSearchResult> searchProgress, CancellationToken cancellationToken)
Parameters
RadPdfViewer
pdfViewer
|
Telerik.Windows.Documents.Fixed.Model.RadFixedDocument
document
|
System.String
text
|
Telerik.Windows.Documents.Fixed.Search.TextSearchOptions
textSearchOptions
|
System.IProgress<PdfViewerTextSearchResult>
searchProgress
|
System.Threading.CancellationToken
cancellationToken
|
PdfViewerSearchContext(RadPdfViewer, RadFixedDocument, String[], TextSearchOptions, IProgress<PdfViewerTextSearchResult>, CancellationToken)
Initializes a new instance of PdfViewerSearchContext class.
Declaration
public PdfViewerSearchContext(RadPdfViewer pdfViewer, RadFixedDocument document, string[] phrases, TextSearchOptions textSearchOptions, IProgress<PdfViewerTextSearchResult> searchProgress, CancellationToken cancellationToken)
Parameters
RadPdfViewer
pdfViewer
|
Telerik.Windows.Documents.Fixed.Model.RadFixedDocument
document
|
System.String[]
phrases
|
Telerik.Windows.Documents.Fixed.Search.TextSearchOptions
textSearchOptions
|
System.IProgress<PdfViewerTextSearchResult>
searchProgress
|
System.Threading.CancellationToken
cancellationToken
|
Fields
CancellationToken
Used by the PdfViewerTextSearchWorker to check whether or not the search operation is cancelled.
Declaration
public readonly CancellationToken CancellationToken
Field Value
System.Threading.CancellationToken
|
Document
The Telerik.Windows.Documents.Fixed.Model.RadFixedDocument this context is associated with.
Declaration
public readonly RadFixedDocument Document
Field Value
Telerik.Windows.Documents.Fixed.Model.RadFixedDocument
|
PdfViewer
The RadPdfViewer control, this context is associated with.
Declaration
public readonly RadPdfViewer PdfViewer
Field Value
RadPdfViewer
|
SearchOptions
The Telerik.Windows.Documents.Fixed.Search.TextSearchOptions used to perform the search.
Declaration
public readonly TextSearchOptions SearchOptions
Field Value
Telerik.Windows.Documents.Fixed.Search.TextSearchOptions
|
SearchProgress
Used by the PdfViewerTextSearchWorker to notify the RadPdfViewer about changes (new results) in the search operation.
Declaration
public readonly IProgress<PdfViewerTextSearchResult> SearchProgress
Field Value
System.IProgress<PdfViewerTextSearchResult>
|
Text
The string for which the search operation is performed.
Declaration
public readonly string Text
Field Value
System.String
|