[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
Provides information about a physical monitor.
Source position: forms.pp line 984
type TMonitor = class(TObject) |
||
public |
||
|
Handle which identifies this monitor to the system. |
|
property MonitorNum: Integer; [r] |
|
Index of the monitor in the TScreen.Monitors list. |
property Left: Integer; [r] |
|
The leftmost screen coordinate of the display. |
property Height: Integer; [r] |
|
The height of the display. |
property Top: Integer; [r] |
|
The top-most screen coordinate of the display. |
property Width: Integer; [r] |
|
The width of the display. |
property BoundsRect: TRect; [r] |
|
The logical dimensions of the monitor, within the desktop. |
property WorkareaRect: TRect; [r] |
|
The usable display area, excluding a taskbar etc. |
property Primary: Boolean; [r] |
|
True if this is the primary monitor of the system. |
property PixelsPerInch: Integer; [r] |
|
Contains the Pixels Per Inch or display density for the monitor. |
end; |
|
Provides information about a physical monitor. |
|
| | ||
TObject |
Monitor information is retrieved dynamically from the Operating System. This ensures that any changes to the installed hardware devices or their configuration are taken into account. TMonitor has properties that reflect its dimensions, use as the primary monitor, and its display density (or Pixels per Inch).
TMonitor is the type returned when reading the TScreen.Monitors property. TMonitor is the type used to implement the TCustomForm.Monitor property.
|
The Monitor where the form is shown. |
|
|
Provides indexed access to the available monitors in the class instance. |