Hi @The Master , Welcome to Microsoft Q&A,
Since .NET 4 has very limited built-in support for DPI scaling, common techniques (such as calling SetProcessDPIAware
) will not produce the expected results.
For earlier .NET you can use the manifest to add support for DPI, but the support is limited, it is recommended that you upgrade to 4.7+.
<application xmlns="urn:schemas-microsoft-com:asm.v3">
<windowsSettings>
<dpiAwareness>PerMonitorV2</dpiAwareness>
</windowsSettings>
</application>
Best Regards,
Jiale
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.