CanvasVirtualImageSource Constructor (ICanvasResourceCreator, Single, 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 public CanvasVirtualImageSource(
ICanvasResourceCreator resourceCreator,
float width,
float height,
float dpi
)
Parameters
- resourceCreator
- Type: Microsoft.Graphics.CanvasICanvasResourceCreator
- width
- Type: SystemSingle
- height
- Type: SystemSingle
- dpi
- Type: SystemSingle
Remarks Size is in device independent pixels (DIPs), using the specified DPI.
See Also