I need application always has the fixed, 100% scale, even if system settings are 200% per monitor or per whole system

MERUN KUMAR MAITY 636 Reputation points
2024-08-03T21:54:46.15+00:00

Is there a way to disable scaling for all the WPF application even if windows has some scale per monitor or system-wide scale?

I need to have WPF windows that is always 1:1 with physical pixels (DPI is always 96), and by this time I found no way to do this: application manifest or API methods for the awareness are useless, they just changing ways how the content is being scaled: as a bitmap or by the application. I need application always has the fixed, 100% scale, even if system settings are 200% per monitor or per whole system. Do you guys know some ways that could help?

Developer technologies Windows Presentation Foundation
Developer technologies C#
{count} votes

1 answer

Sort by: Most helpful
  1. Bruce (SqlWork.com) 77,686 Reputation points Volunteer Moderator
    2024-08-03T22:26:04.5366667+00:00

    96 Dpi is a pretty low res monitor. Mine is 218 dpi. Anyway see this thread

    https://stackoverflow.com/questions/13858665/disable-dpi-awareness-for-wpf-application


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.