Sets the characters in a given text range to be in all caps or not.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 20.0.0.0 (20.0.0.377)
Since:
2017
Syntax
C# |
---|
public void SetAllCapsStatus(
TextRange textRange,
bool isAllCaps
) |
Visual Basic |
---|
Public Sub SetAllCapsStatus ( _
textRange As TextRange, _
isAllCaps As Boolean _
) |
Visual C++ |
---|
public:
void SetAllCapsStatus(
TextRange^ textRange,
bool isAllCaps
) |
Parameters
- textRange
- Type: Autodesk.Revit.DB..::..TextRange
The given text range.
- isAllCaps
- Type: System..::..Boolean
The desired all caps status of characters in the given text range.
True will render all characters in all caps.
False will revert the characters back to their original mixed case.
Remarks
Exceptions
See Also