menu

Xamarin.Android

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class FreeTextAnnotationSettings - Xamarin.Android API Reference | Syncfusion

    Show / Hide Table of Contents

    Class FreeTextAnnotationSettings

    Represents FreeTextAnnotation settings

    Inheritance
    System.Object
    FreeTextAnnotationSettings
    Namespace: Syncfusion.SfPdfViewer.Android
    Assembly: Syncfusion.SfPdfViewer.Android.dll
    Syntax
    public class FreeTextAnnotationSettings : Object

    Constructors

    FreeTextAnnotationSettings()

    Initializes a new instance of the FreeTextAnnotationSettings class.

    Declaration
    public FreeTextAnnotationSettings()

    Properties

    Constraints

    Gets or sets a value that indicates the constraints to the annotation interactions.

    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
    Android.Graphics.Color

    IsFreeTextDialogEnabled

    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 that indicates whether the annotations can be edited. if this property is true, annotation selection, resizing, moving and editing actions will be disabled for the user. Default value is false.

    Declaration
    public bool IsLocked { get; set; }
    Property Value
    Type
    System.Boolean
    Remarks

    When the property is true, only the tapped event will be raised, and the selected event will not be raised.

    MinimumSize

    Gets or sets the minimum size to which the annotation can be resized.

    Declaration
    public Size MinimumSize { get; set; }
    Property Value
    Type
    Android.Util.Size

    Text

    Get or sets the text of the FreeText annotation.

    Declaration
    public string Text { get; set; }
    Property Value
    Type Description
    System.String

    Default: Empty

    TextColor

    Gets or sets the default color of the text annotation.

    Declaration
    public Color TextColor { get; set; }
    Property Value
    Type Description
    Android.Graphics.Color

    The default color is blue.

    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.

    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved