Click or drag to resize
CanvasRenderTarget Constructor (ICanvasResourceCreatorWithDpi, Size)
Initializes a new instance of the CanvasRenderTarget class.

Namespace:  Microsoft.Graphics.Canvas
Assembly:  Microsoft.Graphics.Canvas (in Microsoft.Graphics.Canvas.dll) Version: 0.0.0.0
Syntax
C#
public CanvasRenderTarget(
	ICanvasResourceCreatorWithDpi resourceCreator,
	Size size
)

Parameters

resourceCreator
Type: Microsoft.Graphics.CanvasICanvasResourceCreatorWithDpi
size
Type: Windows.FoundationSize
Remarks
Size is in device independent pixels (DIPs), and DPI is taken from the specified resource creator interface.
See Also