Click or drag to resize
CanvasSwapChainCreateDrawingSession Method
Creates a drawing session that will draw onto this CanvasSwapChain.

Namespace:  Microsoft.Graphics.Canvas
Assembly:  Microsoft.Graphics.Canvas (in Microsoft.Graphics.Canvas.dll) Version: 0.0.0.0
Syntax
C#
public CanvasDrawingSession CreateDrawingSession(
	Color clearColor
)

Parameters

clearColor
Type: Windows.UIColor

Return Value

Type: CanvasDrawingSession
Remarks
This method clears the CanvasSwapChain to the specified color. When you have finished drawing to the swap chain, call Present so that the results can be observed.
See Also