Einzelnen Beitrag anzeigen

Benutzerbild von adeptus
adeptus

Registriert seit: 12. Okt 2005
Ort: Berlin
29 Beiträge
 
Delphi 7 Architect
 
#3

Re: DPI-Einstellung abfragen / ändern

  Alt 2. Jun 2008, 13:04
Zitat von DeddyH:
Spontan fällt mir da GetDeviceCaps ein (mit den beiden LogPixels-Konstanten).
Hmmm.. Hab mir das mal angeschaut:


LOGPIXELSX Number of pixels per logical inch along the screen width. In a system with multiple display monitors, this value is the same for all monitors.
LOGPIXELSY Number of pixels per logical inch along the screen height. In a system with multiple display monitors, this value is the same for all monitors.

Das fühlt sich ja so an, als ob es unteschiedliche Einstellungen für width und Height gäbe. Und wie schliesse ich von diesen Werten dann auf die DPI?
Pascal
  Mit Zitat antworten Zitat