Vcl.Forms.TMonitor.BoundsRect

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property BoundsRect: TRect read GetBoundsRect;

C++

__property System::Types::TRect BoundsRect = {read=GetBoundsRect};

Properties

Type Visibility Source Unit Parent
property public
Vcl.Forms.pas
Vcl.Forms.hpp
Vcl.Forms TMonitor

Description

Indicates the dimensions of the monitor in pixels.

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.

See Also