Is there a way to know if the text size is at 125% from .NET/C#?
The setting comes from Control Panel\Appearance and Personalization\Display …
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I haven´t tried this my self.
This registry key in windows pre Windows 7:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\FontDPI:LogPixels
And this one in Windows 7:
HKEY_CURRENT_USER\Control Panel\Desktop:LogPixels
All according to this thread in MSDN Forum
Here is some additional resources:
Creating a DPI-Aware Application
C# Scaling UserControl content to match users Dpi/Font Size
About DPI issue