Struct
PdfViewerSearchContext

A structure containing information about the search operation.

Definition

Namespace:Telerik.Maui.Controls.PdfViewer

Assembly:Telerik.Maui.Controls.dll

Syntax:

cs-api-definition
public struct PdfViewerSearchContext

Inherited Members ValueType.Equals(object)ValueType.GetHashCode()ValueType.ToString()

Constructors

PdfViewerSearchContext(RadPdfViewer, RadFixedDocument, string, TextSearchOptions, IProgress<PdfViewerTextSearchResult>, CancellationToken)

Initializes a new instance of PdfViewerSearchContext class.

Declaration

cs-api-definition
public PdfViewerSearchContext(RadPdfViewer pdfViewer, RadFixedDocument document, string text, TextSearchOptions textSearchOptions, IProgress<PdfViewerTextSearchResult> searchProgress, CancellationToken cancellationToken)

Parameters

pdfViewer

RadPdfViewer

document

RadFixedDocument

text

string

textSearchOptions

TextSearchOptions

searchProgress

IProgress<PdfViewerTextSearchResult>

cancellationToken

CancellationToken

PdfViewerSearchContext(RadPdfViewer, RadFixedDocument, string[], TextSearchOptions, IProgress<PdfViewerTextSearchResult>, CancellationToken)

Initializes a new instance of PdfViewerSearchContext class.

Declaration

cs-api-definition
public PdfViewerSearchContext(RadPdfViewer pdfViewer, RadFixedDocument document, string[] phrases, TextSearchOptions textSearchOptions, IProgress<PdfViewerTextSearchResult> searchProgress, CancellationToken cancellationToken)

Parameters

pdfViewer

RadPdfViewer

document

RadFixedDocument

phrases

string[]

textSearchOptions

TextSearchOptions

searchProgress

IProgress<PdfViewerTextSearchResult>

cancellationToken

CancellationToken

Fields

CancellationToken

Used by the PdfViewerTextSearchWorker to check whether or not the search operation is cancelled.

Declaration

cs-api-definition
public readonly CancellationToken CancellationToken

Field Value

CancellationToken

Document

The RadFixedDocument this context is associated with.

Declaration

cs-api-definition
public readonly RadFixedDocument Document

Field Value

RadFixedDocument

PdfViewer

The RadPdfViewer control, this context is associated with.

Declaration

cs-api-definition
public readonly RadPdfViewer PdfViewer

Field Value

RadPdfViewer

SearchOptions

The TextSearchOptions used to perform the search.

Declaration

cs-api-definition
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

cs-api-definition
public readonly IProgress<PdfViewerTextSearchResult> SearchProgress

Field Value

IProgress<PdfViewerTextSearchResult>

Text

The string for which the search operation is performed.

Declaration

cs-api-definition
public readonly string Text

Field Value

string