TextRange.Length Property

TextRangeLength Property

The length of the range.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.3.0.0 (25.3.0.0)
Syntax
public int Length { get; set; }
Public Property Length As Integer
	Get
	Set
public:
property int Length {
	int get ();
	void set (int value);
}
member Length : int with get, set

Property Value

Int32
Exceptions
ExceptionCondition
ArgumentOutOfRangeException When setting this property: The given value for length is negative.
See Also