ResolutionScale enumeration

Applies to Windows and Windows Phone

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

[Version(0x06020000)]

Members

The ResolutionScale enumeration has these members.

MemberValueDescription
Invalid | invalid0

Specifies the scale of a display is invalid.

Scale100Percent | scale100Percent100

Specifies the scale of a display as 100 percent.

This percentage indicates a minimum screen resolution for Windows all up is 1024x768.

Scale120Percent | scale120Percent120

This value isn't used.

Scale140Percent | scale140Percent140

Specifies the scale of a display as 140 percent.

This percentage indicates a minimum screen resolution to scale at 140 is 1440x1080.

Scale150Percent | scale150Percent150

Applies to Windows Phone 8.

Scale160Percent | scale160Percent160

Applies to Windows Phone 8.

Scale180Percent | scale180Percent180

Specifies the scale of a display as 180 percent.

This percentage indicates a minimum screen resolution to scale at 180 is 1920x1440.

Scale225Percent | scale225Percent225

This value isn't used.

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.

For Windows Store apps and Windows Phone apps, we recommend these scale factors:

  • Windows Store apps (100/140/180)
  • Windows Phone apps for Windows Phone 8.1 and later (100/140/240)
  • Windows Phone apps for Windows Phone 8 (100/150/160)

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8

Namespace

Windows.Graphics.Display
Windows::Graphics::Display [C++]

Metadata

Windows.winmd

See also

ResolutionScale Property

 

 

Show:
© 2014 Microsoft