TextProviderWrapperRangeFromPoint - метод
Returns the degenerate (empty) text range nearest to the specified screen coordinates.
Пространство имён: Tessa.UI.Automation.HelpersСборка: Tessa.UI (в Tessa.UI.dll) Версия: 4.2.0+ffad8363f63902f18b3b3f4cfa533a14b2fb19a6
public ITextRangeProvider RangeFromPoint(
Point screenLocation
)
Public Function RangeFromPoint (
screenLocation As Point
) As ITextRangeProvider
public:
virtual ITextRangeProvider^ RangeFromPoint(
Point screenLocation
) sealed
abstract RangeFromPoint :
screenLocation : Point -> ITextRangeProvider
override RangeFromPoint :
screenLocation : Point -> ITextRangeProvider
- screenLocation Point
- The location in screen coordinates.
ITextRangeProviderA degenerate range nearest the specified location. A null reference (
in Visual Basic) is never returned.
ITextProviderRangeFromPoint(Point) | ArgumentException | If a given point is outside the UI Automation element associated with the text pattern. |