Getting PHYSICAL monitor size in C#
From: Valerie Hough (support_at_hcs-usa.com)
Date: Fri, 13 Feb 2004 18:37:33 -0500
Does anyone have an example of how to get the PHYSICAL monitor size in C#?
In C++ I used to use GetDeviceCaps( dc, HORZSIZE ) which returns the monitor
size in mm, then I
converted it to inches.
When I do this as unmanaged code in C#, I am getting back a value that show
my 19" monitor
has a width of only 12.9", whereas my trusty ruler shows it to be about
Is this a driver problem, and if so, what am I to do?
Thanks in advance,