Skip to main content
All docs
V25.2
  • TextRange Members

    A text range that specifies the position and length of a text fragment in a text run.

    Constructors

    Name Description
    TextRange(Int32, Int32) Initializes a new instance of the TextRange class with specified settings.

    Properties

    Name Description
    Length Returns the length of a text range.
    Start Returns the position of the first character in a text range.

    Methods

    Name Description
    Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
    Equals(Object) Indicates whether this instance and a specified object are equal. Inherited from ValueType.
    GetHashCode() Returns the hash code for this instance. Inherited from ValueType.
    GetType() Gets the Type of the current instance. Inherited from Object.
    ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
    ToString() Returns the fully qualified type name of this instance. Inherited from ValueType.
    See Also