Class TextSearchSettings
Specifies and allows editing the information about how the highlight of the text search instance to be made.
Inheritance
Namespace: Syncfusion.SfPdfViewer.XForms
Assembly: Syncfusion.SfPdfViewer.XForms.dll
Syntax
public class TextSearchSettings : Object
Constructors
TextSearchSettings()
Initializes a new instance of the TextSearchSettings class.
Declaration
public TextSearchSettings()
Properties
CurrentInstanceColor
Gets or Sets the ARGB Xamarin.Forms.Color value for the current instance of the text being searched.
Declaration
public Color CurrentInstanceColor { get; set; }
Property Value
Type | Description |
---|---|
Xamarin.Forms.Color | A color that is used to highlight the current instance of the text match. The default value is |
IsLinearSearchEnabled
Gets or sets a value indicating whether sequential or linear search should be performed.
Declaration
public bool IsLinearSearchEnabled { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The default value is false. |
Remarks
Since the search operation occurs sequentially or linearly, there will be the following limitations:
- There will be a delay in finding each instance of the searched text in a large document.
- Instance counts will not be displayed in the built-in toolbar.
- Total search text occurrences and current search text instances will not be updated, and both will be zero.
OtherInstanceColor
Gets or Sets the ARGB Xamarin.Forms.Color value for all other instances expect the current instance of the text found./>.
Declaration
public Color OtherInstanceColor { get; set; }
Property Value
Type | Description |
---|---|
Xamarin.Forms.Color | A color that is used to highlight the current instance of the text match. The default value is |