Click or drag to resize
Ranorex

IElementFindFromPoint Method (Point, RxPath)

Find an element by screen location and build its RxPath. The found element is a descendant of this instance or this instance itself.

Namespace:  Ranorex.Core
Assembly:  Ranorex.Core (in Ranorex.Core.dll) Version: 12.7.4-git.38314c06
Syntax
Element FindFromPoint(
	Point screenLocation,
	out RxPath resultPath
)

Parameters

screenLocation
Type: System.DrawingPoint
The location where the element is located.
resultPath
Type: Ranorex.CoreRxPath
The result RxPath.

Return Value

Type: Element
The element at the specified location or null if nothing was found.
Remarks
This method requires a Ranorex Professional/Premium license.
See Also