Click or drag to resize
CanvasUnits Enumeration
Specifies what units coordinates are in. This is important for making sure everything stays in the right place when running on high DPI devices.

Namespace:  Microsoft.Graphics.Canvas
Assembly:  Microsoft.Graphics.Canvas (in Microsoft.Graphics.Canvas.dll) Version: 0.0.0.0
Syntax
C#
public enum CanvasUnits
Members
  Member nameValueDescription
Dips0Units are interpreted as device-independent pixels. This matches the behavior of the XAML UI framework.
Pixels1Units are interpreted as pixels. This matches the Direct3D graphics API.
Remarks
For more information, see DPI and DIPs.
See Also