Click or drag to resize
CanvasPreviewEventArgsDrawingSession Property
Gets the drawing session for use by the Preview event handler.

Namespace:  Microsoft.Graphics.Canvas.Printing
Assembly:  Microsoft.Graphics.Canvas (in Microsoft.Graphics.Canvas.dll) Version: 0.0.0.0
Syntax
C#
public CanvasDrawingSession DrawingSession { get; }

Property Value

Type: CanvasDrawingSession
Remarks

The application should draw the content for the appropriate page using this drawing session. The drawing session's DPI has been configured so that coordinates in DIPs match the page size in DIPs.

See Also