alexa
menu

Xamarin.iOS

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download

    Show / Hide Table of Contents

    Class Annotation

    Represents an annotation for a diagram element. It can be text, image or any view object.

    Inheritance
    System.Object
    Annotation
    Implements
    System.ICloneable
    Namespace: Syncfusion.SfDiagram.iOS
    Assembly: Syncfusion.SfDiagram.iOS.dll
    Syntax
    public class Annotation : Object, ICloneable

    Constructors

    Annotation()

    Initializes a new instance of the Annotation class.

    Declaration
    public Annotation()

    Properties

    AnnotationPositions

    Gets or sets the AnnotationPositions of annotation.

    Declaration
    public AnnotationPositions AnnotationPositions { get; set; }
    Property Value
    Type
    AnnotationPositions

    Content

    Gets or sets the content of the annotation.

    Declaration
    public object Content { get; set; }
    Property Value
    Type
    System.Object

    FontFamily

    Gets or sets the font name for the textual data in the annotation.

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

    A string that represents font family name.

    FontSize

    Gets or sets the size of the font.

    Declaration
    public double FontSize { get; set; }
    Property Value
    Type
    System.Double

    HorizontalAlignment

    Gets or sets the horizontal alignment of the annotation.

    Declaration
    public HorizontalAlignment HorizontalAlignment { get; set; }
    Property Value
    Type
    HorizontalAlignment

    OffsetX

    Gets or sets the X position of annotation.

    Declaration
    public double OffsetX { get; set; }
    Property Value
    Type
    System.Double

    OffsetY

    Gets or sets the Y position of annotation.

    Declaration
    public double OffsetY { get; set; }
    Property Value
    Type
    System.Double

    TextBrush

    Gets or sets the text brush for the textual data in the annotation.

    Declaration
    public Brush TextBrush { get; set; }
    Property Value
    Type
    Brush

    VerticalAlignment

    Gets or sets the vertical Alignment of the annotation.

    Declaration
    public VerticalAlignment VerticalAlignment { get; set; }
    Property Value
    Type
    VerticalAlignment

    Methods

    Clone()

    Clone the annotation instance.

    Declaration
    public object Clone()
    Returns
    Type Description
    System.Object

    Clone the annotation element.

    Implements

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