Hello,
I have been looking through the GetDeviceCaps and other related
API function to get the "REAL" DPI of my monitor. It seems as
though LOGPIXELSX(Y) always returns 96 on all monitors regardless
of what size they are (15",17",19"). PHYSICALWIDTH returns zero
unless used with a printer, so...
How can I get the "REAL" dots per inch value for my monitor and
other monitors so that I can scale a preview picture properly to
8.5" x 11". I have read through Charles Petzold's book and I have
tried using SetMapMode but that doesn't give the right results
either.
------------------
Cheers
I have been looking through the GetDeviceCaps and other related
API function to get the "REAL" DPI of my monitor. It seems as
though LOGPIXELSX(Y) always returns 96 on all monitors regardless
of what size they are (15",17",19"). PHYSICALWIDTH returns zero
unless used with a printer, so...
How can I get the "REAL" dots per inch value for my monitor and
other monitors so that I can scale a preview picture properly to
8.5" x 11". I have read through Charles Petzold's book and I have
tried using SetMapMode but that doesn't give the right results
either.
------------------
Cheers
Comment