Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 769
  • Last Modified:

Pixels per inch

Using VB.net (specifically vb 2010 or vb 2012), how can I determine the pixels per inch of any monitor screen?
0
GCCal
Asked:
GCCal
  • 2
1 Solution
 
Dave BaldwinFixer 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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now