Click or drag to resize
Ranorex

FlavorElementGetChildLineageFromPoint Method

Returns a list of flavor elements that is the lineage to the flavor element at the specified screen location.

Namespace:  Ranorex.Core
Assembly:  Ranorex.Core (in Ranorex.Core.dll) Version: 12.7.4-git.38314c06
Syntax
public abstract LinkedList<FlavorElement> GetChildLineageFromPoint(
	Point screenLocation,
	out FindRefineMode refineMode
)

Parameters

screenLocation
Type: System.DrawingPoint
The screen location to search at.
refineMode
Type: Ranorex.CoreFindRefineMode
Can be set to indicate that further searching is required.

Return Value

Type: LinkedListFlavorElement
The lineage to the flavor element at the specified point as a list.
Remarks
The first element in the returned list is the direct child of this flavor element, the k-th element is the parent of the (k+1)-th element, and the last element is the actual flavor element at the specified screen location. Consequently, an empty list is to be returned if this element is the best fitting element at the requested point.

Returns null if the specified screenLocation is not within this or one of its descendant elements.

See Also