Vcl.Forms.TMonitor.Width

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Width: Integer read GetWidth;

C++

__property int Width = {read=GetWidth, nodefault};

Properties

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

Description

Indicates the horizontal size of the monitor in pixels.

Read Width to learn the size of the monitor in pixels. Use this value along with the Left property to calculate vertical positions for objects in multi-monitor applications.

Note: The Width 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