E
E
EquaX2022-01-23 05:57:36
C++ / C#
EquaX, 2022-01-23 05:57:36

How to get windows interface scale(scale factor) in C# win forms?

Good afternoon, I'm making a screenshot on Win forms. And in order to take a screenshot of the entire screen, I need to specify its resolution, but the method that does this gives incorrect values ​​\u200b\u200bdue to the fact that I have a scale of 125%, I need to get the dpi / scale and multiply it by the resulting screen resolution.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question