UIScreen.Scale Property
Definition
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.
The natural scale factor of this UIScreen. Read-only.
public virtual nfloat Scale { [Foundation.Export("scale")] get; }
member this.Scale : nfloat
Property Value
1.0 for standard-resolution displays, 2.0 for Retina displays.
- Attributes
Remarks
This property holds the scale necessary to convert between "logical" coordinate space (measured in points) and the screen's coordinate space. On standard-resolution displays, the value is 1.0. On Retina displays, this value is 2.0, so a logical point comprises 4 pixels.