Class FreeTextAnnotationSettings
Represents FreeTextAnnotation settings.
Inheritance
Namespace: Syncfusion.SfPdfViewer.XForms
Assembly: Syncfusion.SfPdfViewer.XForms.dll
Syntax
public class FreeTextAnnotationSettings : BindableObject
Constructors
FreeTextAnnotationSettings()
Initializes a new instance of the FreeTextAnnotationSettings class.
Declaration
public FreeTextAnnotationSettings()
Fields
FillColorProperty
Gets the FillColor property of FreeTextAnnotationSettings. This is a bindable property.
Declaration
public static readonly BindableProperty FillColorProperty
Field Value
Type | Description |
---|---|
Xamarin.Forms.BindableProperty | A bindable property that gets and sets the fill color of the FreeText annotation. |
MinimumSizeProperty
Gets the MinimumSize property of FreeTextAnnotationSettings. This is a bindable property.
Declaration
public static readonly BindableProperty MinimumSizeProperty
Field Value
Type | Description |
---|---|
Xamarin.Forms.BindableProperty | A bindable property that gets and sets the minimum size for the free text annotation. |
TextColorProperty
Gets the TextColor property of FreeTextAnnotationSettings. This is a bindable property.
Declaration
public static readonly BindableProperty TextColorProperty
Field Value
Type | Description |
---|---|
Xamarin.Forms.BindableProperty | A bindable property that gets and sets the text color of the FreeText annotation. |
TextSizeProperty
Gets the TextSize property of FreeTextAnnotationSettings. This is a bindable property.
Declaration
public static readonly BindableProperty TextSizeProperty
Field Value
Type | Description |
---|---|
Xamarin.Forms.BindableProperty | A bindable property that gets and sets the textsize of the FreeText annotation. |
Properties
Constraints
Declaration
public AnnotationConstraints Constraints { get; set; }
Property Value
Type |
---|
AnnotationConstraints |
FillColor
Gets or sets the fill color of the free text annotation.
Declaration
public Color FillColor { get; set; }
Property Value
Type |
---|
Xamarin.Forms.Color |
IsFreeTextDialogEnabled
Gets or sets a value indicating whether enables or disables the FreeText dialog.
Declaration
public bool IsFreeTextDialogEnabled { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | Default value is true. |
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 |
MinimumSize
Gets or sets the minimum size to which the annotation can be resized.
Declaration
public Size MinimumSize { get; set; }
Property Value
Type |
---|
Xamarin.Forms.Size |
Text
Gets or sets get or sets the text of the FreeText.
Declaration
public string Text { get; set; }
Property Value
Type | Description |
---|---|
System.String | Default value is true. |
TextColor
Gets or sets the default color of the text annotation.
Declaration
public Color TextColor { get; set; }
Property Value
Type | Description |
---|---|
Xamarin.Forms.Color | The default color is black. |
TextSize
Gets or sets the default font size of the text annotation.
Declaration
public float TextSize { get; set; }
Property Value
Type | Description |
---|---|
System.Single | the default font size of the text annotation is 12. |