 | 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
SyntaxRxPath GetPath(
PathBuildMode buildMode,
Element relativeToElement
)
Function GetPath (
buildMode As PathBuildMode,
relativeToElement As Element
) As RxPath
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:
RxPathThe path of the element.
See Also