HorizontalTextAlignment Enumeration


Supported kinds of text horizontal alignment within the text containing box.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 16.0.0.0 (16.0.0.0)
Since: 2016
Since: 2016

Syntax

C#
public enum HorizontalTextAlignment
Visual Basic
Public Enumeration HorizontalTextAlignment
Visual C++
public enum class HorizontalTextAlignment

Members

Member name Description
Left Text is aligned on the left side of the text box.
Right Text is aligned on the righ side of the text box.
Center Text is centered within the text box.

See Also

ArchiLabs Desktop

Put AI to work inside Revit.

Give Desktop your instructions and project files to build Revit families, update model elements, and create views and schedules. Works directly in Revit and AutoCAD.

Explore Desktop →