RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TMonitor.BoundsRect Property

Indicates the dimensions of the monitor in pixels.

Pascal
property BoundsRect: TRect;
C++
__property TRect BoundsRect;

Read BoundsRect to learn the dimensions of the monitor. BoundsRect gives the dimensions of the monitor in pixels, where (0,0) represents the top-left corner of the primary monitor.  

The top of BoundsRect is given by the Top property, the left edge by the Left property, and the height and width by the Height and Width properties respectively.

Note: The BoundsRect property does not take into account any task bars or tool bars docked on the monitor. To determine the area on the monitor that is free of such docked windows, use the WorkareaRect property.
 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!