Edit

SKCanvasView.Dpi Property

Definition

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.

Applies to