TextRange Members

The TextRange type exposes the following members.

Constructors

  NameDescription
Public methodTextRange()()()()
Constructs a TextRange with default values for start and length.
Public methodTextRange(TextRange)
Constructs a copy of the input TextRange object.
Public methodTextRange(Int32, Int32)
Constructs a TextRange with input start and length.

Methods

  NameDescription
Public methodDispose
Releases all resources used by the TextRange
Public methodEquals (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodToString (Inherited from Object.)

Properties

  NameDescription
Public propertyEnd
The index of the first character after the end of the range
Public propertyIsValidObject
Specifies whether the .NET object represents a valid Revit entity.
Public propertyLength
The length of the range.
Public propertyStart
The start index of a range within the FormattedText.

See Also