menu

Xamarin.Android

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

    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
    Namespace: Syncfusion.SfDiagram.Android
    Assembly: Syncfusion.SfDiagram.Android.dll
    Syntax
    public class Annotation : Object

    Constructors

    Annotation()

    Initializes a new instance of the Annotation class.

    Declaration
    public Annotation()

    Properties

    AnnotationPositions

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

    FontStyle

    Gets or sets the font style of the annotation.

    Declaration
    public FontStyle FontStyle { get; set; }
    Property Value
    Type Description
    FontStyle

    The style of the font. Bold, Italic, BoldItalic, Normal.

    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
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved