Mike
1/21/2005 10:49:00 PM
Hi,
Is there a way to determine the physical size of the client rectangle?
i.e. I have a panel i draw to, and I want to know the actual physical size
of the rectangle, regardless of the scren resolution.
My first attemp was just using e.Graphics.DpiX and e.Graphics.Pixel but
after reading I realized that e.Graphics.DpiX has to do with Fonts, not the
actual screen resolution.
I have tried setting the e.Graphics.PageUnit to GraphicsUnit.Inch, and then
looking at the VisibleClipBounds, but this doesn't work either.
Any help would be greatly appreciated.
Thannks.
mike