Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Community » Newbie corner » How to get pixels per millimeter for current screen?
Re: How to get pixels per millimeter for current screen? [message #36045 is a reply to message #36044] Sat, 21 April 2012 10:29 Go to previous messageGo to previous message
omari is currently offline  omari
Messages: 276
Registered: March 2010
Experienced Member
Hello,

in the Paint(Draw&w) methode, you can use :

Size sz = w.GetPixelsPerInch();


then convert it from inch to mm.

Omari.


regards
omari.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Zooming layout in Windows
Next Topic: Storing / Inserting Data per BIT
Goto Forum:
  


Current Time: Fri Jul 04 23:56:22 CEST 2025

Total time taken to generate the page: 0.04026 seconds