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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top