TextElement.VerticalAlignment Property

Vertical alignment of the text.


Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.4.0.0 (26.4.0.0)

Syntax

C#

public VerticalTextAlignment VerticalAlignment { get; set; }

Property Value

VerticalTextAlignment

Exceptions

ExceptionCondition
ArgumentOutOfRangeException When setting this property: A value passed for an enumeration argument is not a member of that enumeration

Remarks

The vertical alignment determines the way text is positioned as the text height changes. Changing this property will not affect the position of the text element.

See Also

Reference

TextElement Class
Autodesk.Revit.DB Namespace