Constructs a TextRange with input start and length.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 24.0.0.0 (24.0.0.0)
Since: 2017
Syntax
| C# |
|---|
|
| Visual Basic |
|---|
|
| Visual C++ |
|---|
|
Parameters
- start
- Type: SystemInt32
- length
- Type: SystemInt32
Remarks
The input value for start as well as length should not be negative.
Exceptions
| Exception | Condition |
|---|---|
| Autodesk.Revit.ExceptionsArgumentOutOfRangeException | The given value for start is negative. -or- The given value for length is negative. |