Share

TextRange(Int32, Int32) Constructor

Constructs a TextRange with input start and length.


Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.2.0.0 (26.2.0.0)

Syntax

C#

public TextRange(
	int start,
	int length
)

Parameters

start  Int32
 
length  Int32
 

Exceptions

ExceptionCondition
ArgumentOutOfRangeException The given value for start is negative. -or- The given value for length is negative.

Remarks

The input value for start as well as length should not be negative.

See Also

Reference

Was this information helpful?