Input for WinForms | ComponentOne
C1.Win.Accessibility.Items Namespace / IUiaEdit Interface / RangeFromPoint Method
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.

In This Topic
    RangeFromPoint Method (IUiaEdit)
    In This Topic
    Finds the degenerate range nearest to a screen coordinate.
    Syntax
    'Declaration
     
    
    Function RangeFromPoint( _
       ByVal screenLocation As Point _
    ) As ITextRangeProvider

    Parameters

    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.

    Return Value

    A degenerate range nearest the specified location.
    See Also