Click or drag to resize
CanvasImageSourceCreateDrawingSession Method (Color)
Returns a new drawing session for redrawing the entire image source.

Namespace:  Microsoft.Graphics.Canvas.UI.Xaml
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
The entire image is automatically cleared to the specified color before this method returns.
See Also