In This Article

ITextRangeProvider Interface

Provides the base requirements for an object that has range of two offset values within a text document.

public interface ITextRangeProvider

Properties

TextRange

Gets or sets a TextRange that specifies the text range of the object.

TextRange TextRange { get; set; }

Property Value

TextRange:

A TextRange that specifies the text range of the object.

Remarks

Note that not all objects implement a setter for this property and in the cases of those who don't, an exception may be thrown.