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

Namespace:  Microsoft.Graphics.Canvas.UI.Xaml
Assembly:  Microsoft.Graphics.Canvas (in Microsoft.Graphics.Canvas.dll) Version: 0.0.0.0
Syntax
C#
public CanvasVirtualImageSource(
	ICanvasResourceCreatorWithDpi resourceCreator,
	float width,
	float height
)

Parameters

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