PeachDrawing.Win2D.Win2dRenderContext

Win2dRenderContext.Device Property

The device offscreen drawing and DirectWrite text use: the one passed to the constructor, or the one this context made on first use.

public Microsoft.Graphics.Canvas.CanvasDevice Device { get; }

Property Value

Microsoft.Graphics.Canvas.CanvasDevice

Exceptions

System.ObjectDisposedException
the context has been disposed