• Advertisement
Sign in to follow this  

[web] trouble finding screen DPI

This topic is 3479 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

For a web applicition I'm making in flex, I'm trying to find the screen DPI, but I'm having trouble finding a way. I've already tried to things: -using the Capabilities.screenDPI variable always returns 72, regardless of the actual DPI of the screen -using the javascript screen.deviceXDPI or screen.logicalXDPI and passing a variable to flex only works in IE. I've been googling for an answer forever and can't find one, hopefully someone here can help me.

Share this post


Link to post
Share on other sites
Advertisement
You can't rely too heavily on the value returned, because the user may not calibrate their monitor to use the full screen area anyway. What do you need to use this value for?

Share this post


Link to post
Share on other sites
I want something on the screen to appear as it would printed, but I want to specify the dimensions in inches, not pixels.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement