IUiaTextProvider Interface Members
In This Topic
The following tables list the members exposed by IUiaTextProvider.
Public Properties
| Name | Description |
 | DocumentRange | A text range that encloses the main text of the document. Some auxillary text such as headers, footnotes, or annotations may not be included. |
 | SupportedTextSelection | True if the text container supports text selection. If the provider returns false then it should throw InvalidOperation exceptions for ITextProvider.GetSelection and ITextRangeProvider.Select. |
Top
Public Methods
| Name | Description |
 | GetSelection | Retrieves the current selection. For providers that have the concept of text selection the provider should implement this method and also return true for the SupportsTextSelection property below. Otherwise this method should throw an InvalidOperation exception. For providers that support multiple disjoint selection, this should return an array of all the currently selected ranges. Providers that don't support multiple disjoint selection should just return an array containing a single range. |
 | GetVisibleRanges | Retrieves the visible ranges of text. |
 | RangeFromChild | Retrieves the range of a child object. |
 | RangeFromPoint | Finds the degenerate range nearest to a screen coordinate. |
Top
See Also