menu

Xamarin.Forms

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

    Show / Hide Table of Contents

    Class ShapeAnnotationSettings

    Specifies and allows editing the appearance of the selected shape annotation.

    Inheritance
    System.Object
    ShapeAnnotationSettings
    Namespace: Syncfusion.SfPdfViewer.XForms
    Assembly: Syncfusion.SfPdfViewer.XForms.dll
    Syntax
    public class ShapeAnnotationSettings : BindableObject

    Fields

    MinimumLengthProperty

    Gets the MinimumLength property of ShapeAnnotationSettings. This is a bindable property.

    Declaration
    public static readonly BindableProperty MinimumLengthProperty
    Field Value
    Type Description
    Xamarin.Forms.BindableProperty

    A bindable property that gets and sets the minimum length for the shape annotation.

    MinimumSizeProperty

    Gets the MinimumSize property of ShapeAnnotationSettings. 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 shape annotation.

    OpacityProperty

    Gets the Opacity property of ShapeAnnotationSettings. This is a bindable property.

    Declaration
    public static readonly BindableProperty OpacityProperty
    Field Value
    Type Description
    Xamarin.Forms.BindableProperty

    A bindable property that gets and sets the opacity of the shape annotation.

    StrokeColorProperty

    Gets the StrokeColor property of ShapeAnnotationSettings. This is a bindable property.

    Declaration
    public static readonly BindableProperty StrokeColorProperty
    Field Value
    Type Description
    Xamarin.Forms.BindableProperty

    A bindable property that gets and sets the stroke color of the shape annotation.

    ThicknessProperty

    Gets the Thickness property of ShapeAnnotationSettings. This is a bindable property.

    Declaration
    public static readonly BindableProperty ThicknessProperty
    Field Value
    Type Description
    Xamarin.Forms.BindableProperty

    A bindable property that gets and sets the thickness of the shape annotation.

    Properties

    BorderEffect

    Gets or sets the BorderEffect border effect of the selected shape.

    Declaration
    public BorderEffect BorderEffect { get; set; }
    Property Value
    Type
    BorderEffect
    Remarks

    The value of this API does not affect line, arrow and circle annotations.

    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

    MinimumLength

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

    Declaration
    public float MinimumLength { get; set; }
    Property Value
    Type
    System.Single
    Remarks

    The value of this API is applicable only to the arrow and line annotation

    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
    Remarks

    The value of this API does not affect line, arrow, polygon, cloud annotation’s minimum size

    Opacity

    Gets or sets the System.Single opacity of the selected shape.

    Declaration
    public float Opacity { get; set; }
    Property Value
    Type Description
    System.Single

    The opacity allows the user to apply the transparency in selected shape's fill and stroke.

    StrokeColor

    Gets or sets the Xamarin.Forms.Color stroke color of the selected shape.

    Declaration
    public Color StrokeColor { get; set; }
    Property Value
    Type Description
    Xamarin.Forms.Color

    The stroke color allows the user to change the color of the selected shape's stroke.

    Thickness

    Gets or sets the System.Int32 thickness of the selected shape.

    Declaration
    public float Thickness { get; set; }
    Property Value
    Type Description
    System.Single

    The thickness allows the user to change the selected shape's stroke width.

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