[]
        
(Showing Draft Content)

C1.Win.Accessibility.Items.BaseInterfaces.IUiaTextProvider.RangeFromPoint

RangeFromPoint Method

RangeFromPoint(Point)

Finds the degenerate range nearest to a screen coordinate.

Declaration
ITextRangeProvider RangeFromPoint(Point screenLocation)
Parameters
Type Name Description
Point screenLocation

The location in screen coordinates. The provider should check that the coordinates are within the client area of the provider, and should throw an InvalidOperation exception if they are not.

Returns
Type Description
ITextRangeProvider

A degenerate range nearest the specified location.