Previous - sysUserName Section Home - System Miscellaneous Next - sysTimeZone


sysScreenInfo ( )

Obtains display screen specific information

Usage:

sysScreenInfo (object me, integer infoType)

Parameters:

infoType (integer) - the screen information desired. The possible values are:

  1. Display adapter driver version
  2. Width, in millimeters, of the physical screen
  3. Height, in millimeters, of the physical screen
  4. Number of pixels per logical inch along the screen width ( horizontal DPI )
  5. Number of pixels per logical inch along the screen height ( vertical DPI )
  6. Screen color depth ( bits per pixel )

Returns:

(integer) - the screen information desired

Example:

xtRose = xtra("Rosetta").new( )
nXDPI = xtRose.sysScreenInfo( 4 )

Notes:


Previous - sysUserName Section Home - System Miscellaneous Next - sysTimeZone