Version

ElementProviderFromPoint Method (FragmentRootUIAProviderProxy)

Retrieves the element in this fragment that is at the specified point.
Syntax
'Declaration
 
Public Function ElementProviderFromPoint( _
   ByVal x As Double, _
   ByVal y As Double _
) As IRawElementProviderFragment
public IRawElementProviderFragment ElementProviderFromPoint( 
   double x,
   double y
)

Parameters

x
The X coordinate,.
y
The Y coordinate.

Return Value

The provider for the child element at the specified point, if one exists, or the root provider if the point is on this element but not on any child element. Otherwise returns null.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also