Click or drag to resize
Ranorex

IElementGetPath Method (PathBuildMode, Element)

Builds an RxPath to the element, relative to another element.

Namespace:  Ranorex.Core
Assembly:  Ranorex.Core (in Ranorex.Core.dll) Version: 12.7.4-git.38314c06
Syntax
RxPath GetPath(
	PathBuildMode buildMode,
	Element relativeToElement
)

Parameters

buildMode
Type: Ranorex.CorePathBuildMode
Specifies how the path should be built. (optimization vs. runtime tradeoff)
relativeToElement
Type: Ranorex.CoreElement
The element to which the path is relative to.

Return Value

Type: RxPath
The path of the element.
See Also