StructPdfViewerSearchContext
A structure containing information about the search operation.
Definition
Namespace:Telerik.Maui.Controls.PdfViewer
Assembly:Telerik.Maui.Controls.dll
Syntax:
public struct PdfViewerSearchContext
Inherited Members
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
pdfViewer
document
RadFixedDocument
text
textSearchOptions
TextSearchOptions
searchProgress
IProgress<PdfViewerTextSearchResult>
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
pdfViewer
document
RadFixedDocument
phrases
string[]
textSearchOptions
TextSearchOptions
searchProgress
IProgress<PdfViewerTextSearchResult>
cancellationToken
Fields
CancellationToken
Used by the PdfViewerTextSearchWorker to check whether or not the search operation is cancelled.
Declaration
public readonly CancellationToken CancellationToken
Field Value
Document
The RadFixedDocument this context is associated with.
Declaration
public readonly RadFixedDocument Document
Field Value
RadFixedDocument
PdfViewer
The RadPdfViewer control, this context is associated with.
SearchOptions
The TextSearchOptions used to perform the search.
Declaration
public readonly TextSearchOptions SearchOptions
Field Value
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