Click or drag to resize
CanvasCompositionSetCanvasDevice Method
[Win10_10586] Sets the CanvasDevice associated with the given CompositionGraphicsDevice.

Namespace:  Microsoft.Graphics.Canvas.UI.Composition
Assembly:  Microsoft.Graphics.Canvas (in Microsoft.Graphics.Canvas.dll) Version: 0.0.0.0
Syntax
C#
public static void SetCanvasDevice(
	CompositionGraphicsDevice graphicsDevice,
	CanvasDevice canvasDevice
)

Parameters

graphicsDevice
Type: Windows.UI.CompositionCompositionGraphicsDevice
canvasDevice
Type: Microsoft.Graphics.CanvasCanvasDevice
Remarks

This API is only available when running on Windows 10 build 10586 (released November 2015) or greater.

See Also