SKGLView.Dpi 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.
Gets the current device pixel ratio (DPI scaling factor).
public double Dpi { get; }
Property Value
The device pixel ratio, typically 1.0 for standard displays and 2.0 or higher for high-DPI displays.
Remarks
This value is automatically updated when the browser's DPI changes, such as when moving windows between monitors with different scaling.