OverviewExamples
table System.GetDisplayInfo ( |
) |
Returns a table containing the display information of the user's system.
None.
(table) A table containing the user's display information, indexed by the following keys:
KEY |
TYPE |
DESCRIPTION |
Width |
number |
The user's screen width in pixels (for example 800). |
Height |
number |
The user's screen height in pixels (for example 600). |
ColorDepth |
number |
The color depth of the user's video display, in bits per pixel. For example, 8 for 256 Colors, 16 for High Color or 32 for True Color. |
If this information cannot be determined, or an error occurs, nil is returned. You can use Application.GetLastError to determine whether this action failed, and why.
See also: Related Actions