determine monitor resolutions?

  • Thread starter Thread starter Nate Hekman
  • Start date Start date
N

Nate Hekman

I need to programmatically determine the dpi of individual monitors on a
multimonitor system. I'm using Screen.AllScreens to get the monitors but
that only tells me their resolution in pixels. Can someone point me in the
right direction please?

Thanks.


Nate Hekman
Calgary, Alberta, Canada
 
You could manually convert it assuming you know, or could extract the
monitor sizes. Its along the lines of :

Resolution (pixels) / Screen Size (inches) = DPI
--
Regards

John Timney
Microsoft Regional Director
Microsoft MVP
 
Back
Top