Revit 2025.3 API
Text |
Returns the maximum width the text element can be assigned.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.3.0.0 (25.3.0.0)
Syntax
public double GetMaximumAllowedWidth()
Public Function GetMaximumAllowedWidth As Double
public: double GetMaximumAllowedWidth()
member GetMaximumAllowedWidth : unit -> float
Return Value
DoubleThe maximum allowed width in paper space [ft].

Note that it is not necessarily a constant; it can be affected
by properties of the text and its type, such as the width factor.
See Also