.NET Framework 4.6 and 4.5
The ITextProvider type exposes the following members.
|GetSelection||Retrieves a collection of disjoint text ranges associated with the current text selection or selections.|
|GetVisibleRanges||Retrieves an array of disjoint text ranges from a text container where each text range begins with the first partially visible line through to the end of the last partially visible line.|
|RangeFromChild||Retrieves a text range enclosing a child element such as an image, hyperlink, or other embedded object.|
|RangeFromPoint||Returns the degenerate (empty) text range nearest to the specified screen coordinates.|