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