Returns the maximum width the text element can be created with.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.1.0.0 (26.1.0.34)
Syntax
C#
public static double GetMaximumAllowedWidth( Document cdda, ElementId typeId )
Parameters
- cdda Document
- A document containing the new text element's type
- typeId ElementId
- Id of the text type
Return Value
DoubleThe maximum allowed width in paper space [ft].
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | A non-optional argument was null |