Routines (alphabetical) > Object Classes > Miscellaneous Object Classes > IDLsysMonitorInfo::GetNumberOfMonitors

# IDLsysMonitorInfo::GetNumberOfMonitors

Syntax | Return Value | Arguments | Keywords | Version History

The IDLsysMonitorInfo::GetNumberOfMonitors function method retrieves the number of monitors available on the system. The function returns zero if there are no monitors available on the system, or if the DISPLAY_NAME property does not refer to a valid X server connection.

## Syntax

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

## Return Value

Returns the number of monitors available on the system.

## Arguments

None

## Keywords

None

## Version History

6.3 | Introduced