Describes the scale factor of the immersive environment. The scale factor is determined by the operating system in response to high pixel density screens.
Syntax
var value = Windows.Graphics.Display.ResolutionScale.invalid;
Attributes
- VersionAttribute(NTDDI_WIN8)
Members
The ResolutionScale enumeration has these members.
| Member | Value | Description |
|---|---|---|
| Invalid | invalid | 0 |
Specifies the scale of a display is invalid. |
| Scale100Percent | scale100Percent | 100 |
Specifies the scale of a display as 100 percent. This percentage indicates that the display pixel density is less than 174 pixels per inch (DPI/PPI), or the screen resolution is less than 1920x1080, or both. |
| Scale140Percent | scale140Percent | 140 |
Specifies the scale of a display as 140 percent. This percentage indicates that the display has a pixel density greater than or equal to 174 PPI and a screen resolution greater than or equal to 1920x1080. |
| Scale150Percent | scale150Percent | 150 |
Windows Phone only. Specifies the scale of a display as 150 percent. This percentage indicates that a phone display has a resolution of 1280x720. |
| Scale160Percent | scale160Percent | 160 |
Windows Phone only. Specifies the scale of a display as 160 percent. This percentage indicates that a phone display has a resolution of 1280x768. |
| Scale180Percent | scale180Percent | 180 |
Specifies the scale of a display as 180 percent. This percentage indicates that the display has a pixel density greater than or equal to 240 PPI and a screen resolution greater than or equal to 2560x1440. |
Remarks
For more info on scaling to pixel density, see Guidelines for scaling to pixel density.
The Scaling according to DPI sample shows how to use the ResolutionScale enumeration.
Requirements
|
Minimum supported client | Windows 8 |
|---|---|
|
Minimum supported server | Windows Server 2012 |
|
Minimum supported phone | Windows Phone 8 |
|
Namespace |
|
|
Metadata |
|
See also
Build date: 2/25/2013