Check out the Screen.TwipsPerPixelX and .TwipsPerPixelY properties. Good Luck
-------------- As a circle of light increases so does the circumference of darkness around it. - Albert Einstein
When you set your screen resolution to 1600x1200 my origional code will return 1600x1200 for the bottom right corner of the screen, but 1600x1200 is not the number of pixels horizontally or vertically. When setting your resolution to 1600x1200 you are telling your OS to send to your screen 1600x1200 dots (pixels) per square inch.
So while my second post of code may be what you are looking for the actual answer for pixel position is my second and third post combined.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.