Text

/// Represents a single-line text element in the drawing.
public class Text : Element
{
    // Constructors
    public Text() { }
    public Text(Vector3 insertionPoint, string textString, float height) { }
    public Text(
        Plane3D plane,
        Vector3 insertionPoint,
        string textString,
        float height,
        TextAlignment alignment = TextAlignment.BaselineLeft,
        float rotation = 0f,
        float widthFactor = 1.0f,
        string styleName = null,
        bool upsideDown = false,
        bool backward = false) { }

    // Important Properties
    public Vector3 InsertionPoint { get; set; } // The main insertion point coordinates [X, Y, Z] in the world coordinate system.
    public string TextString { get; set; } // The actual text content string.
    public float Height { get; set; } // The height of the text characters.
    public Plane3D Plane { get; set; } // The plane on which the text lies.
    public TextAlignment Alignment { get; set; } // Specifies the horizontal and vertical alignment of the text.
    public string StyleName { get; set; } // Optional name of the text style to apply.
    public float WidthFactor { get; set; } // The width factor (horizontal scaling) applied to the text characters.
    public float Rotation { get; set; } // Additional rotation angle in radians applied to the text.
    public bool UpsideDown { get; set; } // Indicates whether the text is drawn upside down.
    public bool Backward { get; set; } // Indicates whether the text is drawn backward.

    // Other Accessible Properties
    public string LayerName { get; set; } // The name of the layer this element belongs to.
    public string ColorARGB { get; set; } // Element color represented as an AARRGGBB hex string.
    public PropertyMethod ColorMethod { get; set; } // Element color method.
    public LineType? LineType { get; set; } // The line type for this element.
    public float? LineTypeScale { get; set; } // The scale of the line type.
    public PropertyMethod LineTypeMethod { get; set; } // Element line type method.
    public float? LineWeight { get; set; } // The line weight for this element.
    public PropertyMethod LineWeightMethod { get; set; } // Element lineWeight method.
    public string MaterialName { get; set; } // The name of the material for this element.
    public int? DisplayOrder { get; set; } // The element printing and displaying order.
    public bool? IsVisible { get; set; } // The element visibility status.
}
# Coming soon...