Bounds Object

Applies to TestComplete 15.10, last modified on December 15, 2021

Description

The Bounds object provides information about the height, width and coordinates of the upper-left and lower-right corners of a bounds rectangle. Generally this object contains data about the borders of a single control’s element like item, icon, button and so on.

The coordinate values are relative to a parent or containing control. Thus, if an element belongs to a listbox then the coordinates of the bounding rectangle are relative to the listbox.

If the parent control is an object of a non-DPI-aware application running with a DPI setting other than 100%, the Bound object uses the application’s coordinate system (as if the application was running with the 100% DPI setting).

Members

See Also

Bounds Property (OCR)
wItemBounds Property (StatusBar Controls)
wIconBounds Property (Specific to Win32ListView Controls)
wItemBounds Property (Specific to Win32ListView Controls)
wTextBounds Property (Specific to Win32ListView Controls)
wSelectBounds Property (Specific to Win32ListView Controls)
wItemBounds Property (ListBox Controls)
wItemBounds Property (Header Controls)
wButtonBounds Property (ToolBar and MenuBar Controls)

Highlight search results