menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class TextAnnotationDirection - Blazor API Reference | Syncfusion

    Show / Hide Table of Contents

    Class TextAnnotationDirection

    Specifies the directions of the BpmnTextAnnotation from its target.

    Inheritance
    System.Object
    TextAnnotationDirection
    Namespace: Syncfusion.Blazor.Diagram
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public sealed class TextAnnotationDirection : Enum
    Examples
    Node node = new Node() 
    {
        Shape = new BpmnTextAnnotation() 
        { 
            TextAnnotationTarget = TextAnnotationTarget.Auto,
            TextAnnotationTarget = "node2" 
        }
    };

    Fields

    Auto

    Specifies the direction as auto to switch the direction based on the connector position.

    Declaration
    public const TextAnnotationDirection Auto
    Field Value
    Type
    TextAnnotationDirection

    Bottom

    Specifies the direction as bottom when the absolute angle as 90 degree.

    Declaration
    public const TextAnnotationDirection Bottom
    Field Value
    Type
    TextAnnotationDirection

    Left

    Specifies the direction as left when the absolute angle as 180 degree.

    Declaration
    public const TextAnnotationDirection Left
    Field Value
    Type
    TextAnnotationDirection

    Right

    Specifies the direction as right when the absolute angle as 0 degree.

    Declaration
    public const TextAnnotationDirection Right
    Field Value
    Type
    TextAnnotationDirection

    Top

    Specifies the direction as top when the absolute angle as 270 degree or -90dDegree.

    Declaration
    public const TextAnnotationDirection Top
    Field Value
    Type
    TextAnnotationDirection
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved