DpiMode Enum

Definition

Indicates the DPI mode to use to load an image

C#
public enum DpiMode
Inheritance
DpiMode

Fields

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

Applies to

Product Versions
Windows Community Toolkit 6.1.1, 7.0.0, 7.1.0