ITextProvider Methods
Collapse the table of content
Expand the table of content

ITextProvider Methods

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

The ITextProvider type exposes the following members.

  NameDescription
Public method GetSelection Retrieves a collection of disjoint text ranges that are associated with the current text selection or selections.
Public method GetVisibleRanges Retrieves an array of disjoint text ranges from a text container. Each text range begins with the first partially visible line and ends with the last partially visible line.
Public method RangeFromChild Retrieves a text range that encloses a child element, such as an image, hyperlink, or other embedded object.
Public method RangeFromPoint Returns the degenerate (empty) text range that is nearest to the specified screen coordinates.
Top

Show:
© 2017 Microsoft