Click or drag to resize
CanvasCommandListCreateDrawingSession Method
Returns a new drawing session. This CanvasCommandList records drawing commands on this drawing session.

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

Return Value

Type: CanvasDrawingSession
Remarks

CreateDrawingSession can be called multiple times until the CanvasCommandList is used as an ICanvasImage. After it has been used as an image calls to CreateDrawingSession will fail.

See Also