RVTDocs.com
Namespace: Autodesk.Revit.DB Class: TextRange

TextRange(Int32, Int32)

Constructor
Description:
Constructs a TextRange with input start and length.
Remarks:
The input value for start as well as length should not be negative.
Syntax
public TextRange(
	int start,
	int length
)
Parameters
Parameter Type Description
start Int32
length Int32
Return Value
Exceptions
Exception Condition
ArgumentOutOfRangeException The given value for start is negative. -or- The given value for length is negative.