Class HighlightAnnotationSettings
Represents the default appearance of highlight annotation.
Inheritance
System.Object
HighlightAnnotationSettings
Namespace: Syncfusion.SfPdfViewer.XForms
Assembly: Syncfusion.SfPdfViewer.XForms.dll
Syntax
public class HighlightAnnotationSettings : BindableObject
Fields
ColorProperty
Gets the Color property of HighlightAnnotationSettings. This is a bindable property.
Declaration
public static readonly BindableProperty ColorProperty
Field Value
Type | Description |
---|---|
Xamarin.Forms.BindableProperty | A bindable property that gets and sets the color of the highlight annotation. |
OpacityProperty
Backing store for the Opacity property.
Declaration
public static readonly BindableProperty OpacityProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
Properties
Color
Gets or sets the default color of highlight textmarkup annotation.
Declaration
public Color Color { get; set; }
Property Value
Type | Description |
---|---|
Xamarin.Forms.Color | the default color of highlight textmarkup annotation is yellow. |
Constraints
Declaration
public AnnotationConstraints Constraints { get; set; }
Property Value
Type |
---|
AnnotationConstraints |
IsLocked
Gets or sets a value indicating whether the annotations can be edited. If this property is true, annotations can be selected, but resizing, moving, editing and removing actions will be disabled for the user. Default value is false.
Declaration
public bool IsLocked { get; set; }
Property Value
Type |
---|
System.Boolean |
Opacity
Gets or sets the opacity of the Highlight text markup annotation.
Declaration
public float Opacity { get; set; }
Property Value
Type | Description |
---|---|
System.Single | The default value is 1.The value ranges from 0 to 1. |