RVTDocs.com
Namespace: Autodesk.Revit.DB

HorizontalTextAlignment

Enumeration
Description:
Supported types of horizontal alignment of a text element and text justification within the text containing box.
Syntax
HorizontalTextAlignment Enumeration Members:
Name Description
0 Text is Left justified inside the containing text box, and the left side of the text box remains in place as the width changes.
1 Text is Right justified inside the containing text box, and the right side of the text box remains in place as the width changes.
2 Text is Center justified inside the containing text box, and the center side of the text box remains in place as the width changes.