Version

ResolutionScale Property (ResolutionIndependentMetrics)

Syntax
'Declaration
 
Public Overridable Property ResolutionScale As ResolutionScale
public virtual ResolutionScale ResolutionScale {get; set;}
Remarks
Returns or sets the relative screen resolution upon which all property values of this class are based.

Note: Changing the value of this property causes any previously assigned values for the other properties to be changed according to the difference in scale.

The ResolutionScale property defines the baseline resolutionscale, which is used to determine the scaling ratio when property values of this class are applied for a particular screen resolution.

For example, if the ResolutionScale property is set to 'Scale100Percent', and the target screen resolution is 'Low', property values are scaled by a ratio of 4/5 (since the Low resolution setting implies a size of 80% that of the 'Scale100Percent' setting).

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also