GetMaximumAllowedWidth Method


Text Element Get Maximum Allowed Width Method

Returns the maximum width the text element can be assigned.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public double GetMaximumAllowedWidth()

Return Value

Double
The maximum allowed width in paper space [ft].
Remarks
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
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 →