|CanvasCompositionCreateDrawingSession Method (CompositionDrawingSurface)|
public static CanvasDrawingSession CreateDrawingSession( CompositionDrawingSurface drawingSurface )
This API is only available when running on Windows 10 build 10586 (released November 2015) or greater.
The initial content of the drawing surface is undefined, so apps should ensure that they either call Clear or draw over the entire surface.
The drawing session will use default DPI (96), in which DIPs and pixels are the same.