Sets the characters in a given text range to be underlined or not underlined.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 22.0.0.0 (22.1.1.0)
Since:
2017
Syntax
| C# |
|---|
public void SetUnderlineStatus(
TextRange textRange,
bool isUnderlined
) |
| Visual Basic |
|---|
Public Sub SetUnderlineStatus ( _
textRange As TextRange, _
isUnderlined As Boolean _
) |
| Visual C++ |
|---|
public:
void SetUnderlineStatus(
TextRange^ textRange,
bool isUnderlined
) |
Parameters
- textRange
- Type: Autodesk.Revit.DB..::..TextRange
The given text range.
- isUnderlined
- Type: System..::..Boolean
The desired underline status of characters in the given text range.
True to set underlined, false to set not underlined.
Remarks
Exceptions
See Also