GetRect Method (TestObject)

Class

TestObject.

Action

Returns the size and position of this object. Per default the returned coordinates are relative to the parent window that contains this object.

Syntax

rect = testObject.GetRect([absoluteCoordinates])
Variable Description
rect Rectangle.
absoluteCoordinates Optional: If true global coordinates are returned (relative to the entire screen), otherwise the returned coordinates are relative to the parent window that contains this object. Boolean.