Re: [R] Determining physical display dimensions

From: Earl F. Glynn <>
Date: Sat 20 Aug 2005 - 04:17:38 EST

"Berton Gunter" <> wrote in message

> Failing that, (how) can this be done for Windows (XP or 2000, say) ?

Take a look at the Windows GetDeviceCaps API call

Parameters that can be queried include:
HORZRES Width, in pixels, of the screen. VERTRES Height, in raster lines, of the screen.

HORZSIZE Width, in millimeters, of the physical screen VERTSIZE Height, in millimeters, of the physical screen

The specifics of how to use this API call will vary by language. Google will be your friend.

Stowers Institute for Medical Research mailing list PLEASE do read the posting guide! Received on Sat Aug 20 04:28:33 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:39:55 EST