 | LocationGetElementLocation Method |
Gets the coordinates of a given
Location corresponding to the specified element.
Namespace:
Ranorex
Assembly:
Ranorex.Core (in Ranorex.Core.dll) Version: 12.7.4-git.38314c06
Syntaxpublic Point GetElementLocation(
Element element,
bool relative
)
Public Function GetElementLocation (
element As Element,
relative As Boolean
) As Point
Parameters
- element
- Type: Ranorex.CoreElement
The element. - relative
- Type: SystemBoolean
A value specifying if the returned coordinates are relative
to the element location or absolute (=screen) coordinates.
Return Value
Type:
PointThe coordinates resulting from the location and the specified element.
See Also