The size of a form is measured in pixels. The normal measurement is 96
pixels per inch (although this apparently isn't always true, see the link
below.)
However, if you're trying to determine the actual size of a form on the
monitor, that will be difficult -- it's unlikely that the user's monitor
will be displaying exactly 96 pixels per inch. Consider that you can change
the screen resolution, for example, from 800 x 600 to 1024 x 768. The form
might be the "right" size in inches at one resolution, but won't be at
another resolution. To calculate the actual size, you'd need to know the
viewable size of the monitor, along with the environment's screen
resolution.
http://msdn.microsoft.com/library/de...ew/highdpi.asp http://msdn.microsoft.com/library/de...atesystems.asp
"Brent Hoskisson" <br************@colliergov.net> wrote in message
news:02****************************@phx.gbl...
What is a unit of height and width of a form measured as
(pixels?) and how can I convert that measurement to inches?
Thanks
Brent