TextRange Class

An object that is used to identify a range of characters in a FormattedText .

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: (17.0.484.0)
Since: 2017


public class TextRange : IDisposable
Visual Basic
Public Class TextRange _
	Implements IDisposable
Visual C++
public ref class TextRange : IDisposable


A TextRange consists of a start, which is a zero-based index into the text, and a length, which is the number of characters in the range. The length can be zero.

Inheritance Hierarchy

System Object
Autodesk.Revit.DB TextRange

See Also