Revit 2025.3 API
| Text | 
   Sets the text and associated formatting of the text of in this text note with
   a given FormattedText object.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.3.0.0 (25.3.0.0)
Syntax
public void SetFormattedText( FormattedText formattedText )
Public Sub SetFormattedText ( formattedText As FormattedText )
public: void SetFormattedText( FormattedText^ formattedText )
member SetFormattedText : formattedText : FormattedText -> unit
Parameters
- formattedText FormattedText
- The FormattedText object containing the text and associated formatting of the text.
 Exceptions
Exceptions| Exception | Condition | 
|---|---|
| ArgumentNullException | A non-optional argument was null | 
See Also