The IDLsysMonitorInfo::GetResolutions function method retrieves the monitor resolutions (pixel sizes) as a [2, n] single-precision floating-point array in terms of centimeters per pixel. There is one row in the array for each monitor.

Syntax


Result = Obj->[IDLsysMonitorInfo::]GetResolutions()

Return Value


Returns the monitor resolutions. The first column is the x resolution and the second column is the y resolution. The function returns a two-element single-precision floating-point array containing zero values if there are no monitors available on the system, or if the DISPLAY_NAME property does not refer to a valid X server connection.

Arguments


None

Keywords


None

Version History


6.3

Introduced