| Revit 2022.1 API |
| TextRange Constructor (TextRange) |
| TextRange Class See Also |
Constructs a copy of the input TextRange object.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 22.0.0.0 (22.1.1.0)
Since:
2017
Syntax
| C# |
|---|
public TextRange( TextRange other ) |
| Visual Basic |
|---|
Public Sub New ( _ other As TextRange _ ) |
| Visual C++ |
|---|
public: TextRange( TextRange^ other ) |
Parameters
- other
- Type: Autodesk.Revit.DB..::..TextRange
Exceptions
| Exception | Condition |
|---|---|
| Autodesk.Revit.Exceptions..::..ArgumentNullException | A non-optional argument was null |