DpiAwareness Enumeration
Identifies the dots per inch (dpi) setting for a thread, process, or window.
Namespace: DevCase.Win32.EnumsAssembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
Public Enumeration DpiAwareness
Dim instance As DpiAwareness
public enum class DpiAwareness
No code example is currently available or this language may not be supported.
Unaware |
0 |
DPI unaware.
This process does not scale for DPI changes and is always assumed to have a scale factor of 100% (96 DPI).
It will be automatically scaled by the system on any other DPI setting.
|
SystemAware |
1 |
System DPI aware.
This process does not scale for DPI changes.
It will query for the DPI once and use that value for the lifetime of the process.
If the DPI changes, the process will not adjust to the new DPI value.
It will be automatically scaled up or down by the system when the DPI changes from the system value..
|
PerMonitorAware |
2 |
Per monitor DPI aware.
This process checks for the DPI when it is created and adjusts the scale factor whenever the DPI changes.
These processes are not automatically scaled by the system.
|
Invalid |
-1 |
Invalid DPI awareness.
This is an invalid DPI awareness value.
|