menu

Xamarin.iOS

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class ShapeAnnotationSettings - Xamarin.iOS 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.iOS
    Assembly: Syncfusion.SfPdfViewer.iOS.dll
    Syntax
    public class ShapeAnnotationSettings : Object

    Properties

    BorderEffect

    Gets or sets the 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

    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 UIKit.UIColor fill color of the selected shape.

    Declaration
    public UIColor FillColor { get; set; }
    Property Value
    Type Description
    UIKit.UIColor

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

    IsLocked

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

    MaximumHeight

    Gets or Sets the maximum height of the annotation.

    Declaration
    public nfloat MaximumHeight { get; set; }
    Property Value
    Type
    System.nfloat

    MaximumWidth

    Gets or sets the maximum width of the annotation.

    Declaration
    public nfloat MaximumWidth { get; set; }
    Property Value
    Type
    System.nfloat

    MinimumHeight

    Gets or Sets the minimum height of the annotation.

    Declaration
    public nfloat MinimumHeight { get; set; }
    Property Value
    Type
    System.nfloat

    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 CGSize MinimumSize { get; set; }
    Property Value
    Type
    CoreGraphics.CGSize
    Remarks

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

    MinimumWidth

    Gets or sets the minimum width of the annotation.

    Declaration
    public nfloat MinimumWidth { get; set; }
    Property Value
    Type
    System.nfloat

    Opacity

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

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

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

    StrokeColor

    Gets or sets the UIKit.UIColor stroke color of the selected shape.

    Declaration
    public UIColor StrokeColor { get; set; }
    Property Value
    Type Description
    UIKit.UIColor

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

    Text

    Gets or sets the text of the shape and measurement annotations.

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

    TextBackgroundColor

    Gets or sets the background color of the text of the shape and measurement annotations.

    Declaration
    public UIColor TextBackgroundColor { get; set; }
    Property Value
    Type
    UIKit.UIColor

    TextColor

    Gets or sets the text color of the shape and measurement annotations.

    Declaration
    public UIColor TextColor { get; set; }
    Property Value
    Type
    UIKit.UIColor

    TextOpacity

    Gets or sets the text opacity of the shape and measurement annotations.

    Declaration
    public nfloat TextOpacity { get; set; }
    Property Value
    Type
    System.nfloat

    TextSize

    Gets or sets the text size of the shape and measurement annotations.

    Declaration
    public nfloat TextSize { get; set; }
    Property Value
    Type
    System.nfloat

    Thickness

    Gets or sets the 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