public interface ITextProvider
Modifier and Type | Interface and Description |
---|---|
static class |
ITextProvider.TextProviderContext |
Modifier and Type | Method and Description |
---|---|
ITextRangeProvider |
get_DocumentRange()
Retrieves a text range that encloses the main text of a document.
|
SupportedTextSelection |
get_SupportedTextSelection()
Retrieves a value that specifies the type of text selection that is supported by the control.
|
ITextRangeProvider[] |
GetSelection()
Retrieves a collection of text ranges that represents the currently selected text in a text-based control.
|
ITextRangeProvider[] |
GetVisibleRanges()
Retrieves an array of disjoint text ranges from a text-based control where each text range represents a contiguous span of visible text.
|
ITextRangeProvider |
RangeFromChild(IUIAElement childElement)
Retrieves a text range enclosing a child element such as an image, hyperlink, or other embedded object.
|
ITextRangeProvider |
RangeFromPoint(javafx.geometry.Point2D point)
Returns the degenerate (empty) text range nearest to the specified screen coordinates.
|
ITextRangeProvider get_DocumentRange()
SupportedTextSelection get_SupportedTextSelection()
ITextRangeProvider[] GetSelection()
ITextRangeProvider[] GetVisibleRanges()
ITextRangeProvider RangeFromChild(IUIAElement childElement)
childElement
- the childITextRangeProvider RangeFromPoint(javafx.geometry.Point2D point)
point
- the coordinates in screen space