DpiMode Enum
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Indicates the DPI mode to use to load an image
C#
public enum DpiMode
type DpiMode =
Public Enum DpiMode
- Inheritance
-
DpiMode
Name | Value | Description |
---|---|---|
UseSourceDpi | 0 | Uses the original DPI settings of the loaded image |
Default96Dpi | 1 | Uses the default value of 96 DPI |
DisplayDpi | 2 | Overrides the image DPI settings with the current screen DPI value |
DisplayDpiWith96AsLowerBound | 3 | Overrides the image DPI settings with the current screen DPI value and ensures the resulting value is at least 96 |
Produit | Versions |
---|---|
Windows Community Toolkit | 7.0.0 |