Pixels per inch

Using VB.net (specifically vb 2010 or vb 2012), how can I determine the pixels per inch of any monitor screen?
GCCalAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
Dave BaldwinConnect With a Mentor Fixer of ProblemsCommented:
I don't think you can.  The actual screen size in inches is not reported to the OS.  Only the dimensions in pixels because that's all the video driver cares about.  Two screens with the same pixel dimensions like 1280x1024 do not have to be the same physical size so the 'pixels per inch' won't be the same.
0
 
GCCalAuthor Commented:
Thanks very much Dave.  I had almost come to that conclusion but needed some expert verification.  Will be accepted.  I hope the points get awarded as this is my first question in a long time. Old minds tend to forget.  Thanks,
0
 
Dave BaldwinFixer of ProblemsCommented:
You're welcome.
0
All Courses

From novice to tech pro — start learning today.