alexa
menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Search Results for

    Show / Hide Table of Contents

    Class TextLocation

    Represents a single line of text paired with its vertical position, used to build multi-line SVG text elements via tspan children.

    Inheritance
    object
    TextLocation
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Syncfusion.Blazor.DataVizCommon
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class TextLocation

    Constructors

    TextLocation(string, double)

    Initializes a new instance of TextLocation with the specified text content and vertical position.

    Declaration
    public TextLocation(string text, double y)
    Parameters
    Type Name Description
    string text

    The text string for this line.

    double y

    The y-coordinate position of this line.

    Properties

    Text

    Gets or sets the text string content for this line.

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

    Y

    Gets or sets the y-coordinate at which this line of text is rendered inside the parent text element.

    Declaration
    public double Y { get; set; }
    Property Value
    Type
    double
    In this article
    Back to top Generated by DocFX
    Copyright © 2001 - 2026 Syncfusion Inc. All Rights Reserved