TextProviderWrapperRangeFromPoint - метод

Returns the degenerate (empty) text range nearest to the specified screen coordinates.

Definition

Пространство имён: Tessa.UI.Automation.Helpers
Сборка: Tessa.UI (в Tessa.UI.dll) Версия: 4.2.0+ffad8363f63902f18b3b3f4cfa533a14b2fb19a6
C#
public ITextRangeProvider RangeFromPoint(
	Point screenLocation
)

Параметры

screenLocation  Point
The location in screen coordinates.

Возвращаемое значение

ITextRangeProvider
A degenerate range nearest the specified location. A null reference ( in Visual Basic) is never returned.

Реализации

ITextProviderRangeFromPoint(Point)

Исключения

ArgumentExceptionIf a given point is outside the UI Automation element associated with the text pattern.

См. также