Click or drag to resize
Ranorex

ElementSnapshotCreateSimpleClone Method (Element, Int32)

Creates a simple clone snapshot of the element.

Namespace:  Ranorex.Core
Assembly:  Ranorex.Core (in Ranorex.Core.dll) Version: 12.7.4-git.38314c06
Syntax
public static Element CreateSimpleClone(
	Element element,
	int depth
)

Parameters

element
Type: Ranorex.CoreElement
The element to use for the snapshot.
depth
Type: SystemInt32
The tree depth for the snapshot. (0=element itself).

Return Value

Type: Element
The cloned element.
See Also