CanvasCompositionCreateDrawingSession Method (CompositionDrawingSurface, Rect) |
Namespace: Microsoft.Graphics.Canvas.UI.Composition
public static CanvasDrawingSession CreateDrawingSession( CompositionDrawingSurface drawingSurface, Rect updateRect )
This API is only available when running on Windows 10 build 10586 (released November 2015) or greater.
The drawing session will use default DPI (96), in which DIPs and pixels are the same.