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. |