Class TextSearchWorker
Performs async text search in a Telerik.Windows.Documents.Fixed.Model.RadFixedDocument. The results will be displayed by the RadPdfViewer in the order they are provided.
Inheritance
Namespace: Telerik.XamarinForms.PdfViewer
Assembly: Telerik.XamarinForms.PdfViewer.dll
Syntax
public class TextSearchWorker : Object
Constructors
TextSearchWorker()
Declaration
public TextSearchWorker()
Methods
Search(SearchContext)
Performs text search in a thread different from the main UI thread. Override this method when in need to implement custom
search logic. Take into consideration that because this does not run in the main thread, access to UI elements and properties
may be limited. Use a
Declaration
protected virtual TextSearchResult Search(SearchContext context)
Parameters
SearchContext
context
|
Returns
TextSearchResult
|
SearchAsync(SearchContext)
Performs async text search. This method is executed on the main UI thread and returns a System.Threading.Tasks.Task in which the actual text search is performed.
Declaration
protected virtual Task<TextSearchResult> SearchAsync(SearchContext context)
Parameters
SearchContext
context
|
Returns
System.Threading.Tasks.Task<TextSearchResult>
|