Click here to Skip to main content
15,907,874 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello there


I am working on a desktop graphics application. I am using Graphics object to draw some shapes on the form client area. I have some confusion in using g.DpiX and g.DpiY properties (g is Graphics object). They both show the same value 96.0 in debug mode even i have changed the system resolution and restarted the application.

Please do not concern with why i am checking DipX and DipY properties of Graphics object.
Posted
Updated 22-May-13 2:21am
v2
Comments
[no name] 22-May-13 8:28am    
Okay so what is the question? Did you try changing the DPI setting?

1 solution

MSDN refers to DPI awareness[^], something I have never heard of before reading your question.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900