 | 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
SyntaxElement FindFromPoint(
Point screenLocation,
out RxPath resultPath
)
Function FindFromPoint (
screenLocation As Point,
<OutAttribute> ByRef resultPath As RxPath
) As Element
Parameters
- screenLocation
- Type: System.DrawingPoint
The location where the element is located. - resultPath
- Type: Ranorex.CoreRxPath
The result RxPath.
Return Value
Type:
ElementThe element at the specified location or null if nothing was found.
RemarksThis method requires a Ranorex Professional/Premium license.
See Also