Click or drag to resize
CanvasAnimatedControlDpi Property
Gets the current dots-per-inch (DPI) of this control.

Namespace:  Microsoft.Graphics.Canvas.UI.Xaml
Assembly:  Microsoft.Graphics.Canvas (in Microsoft.Graphics.Canvas.dll) Version: 0.0.0.0
Syntax
C#
public float Dpi { get; }

Property Value

Type: Single

Implements

ICanvasResourceCreatorWithDpiDpi
Remarks

DPI describes the ratio between device independent pixels (DIPs) and actual physical pixels. The identity DPI value is 96, which means DIPs and pixels are the same.

This property may be accessed from any thread.

For more information, see DPI and DIPs.

See Also