Win2D for WinUI3 (Work in progress)
Win2D for WinUI3 (Work in progress)
API Reference
Microsoft.Graphics.Canvas.UI.Xaml
CanvasImageSource Class
CanvasImageSource Properties
AlphaMode Property
Device Property
Dpi Property
Size Property
SizeInPixels Property
CanvasImageSource
Device Property
Gets the device used by this image source.
Namespace:
Microsoft.Graphics.Canvas.UI.Xaml
Assembly:
Microsoft.Graphics.Canvas (in Microsoft.Graphics.Canvas.dll) Version: 0.0.0.0
Syntax
C#
Copy
public
CanvasDevice
Device
{
get
; }
Property Value
Type:
CanvasDevice
Implements
ICanvasResourceCreator
Device
See Also
Reference
CanvasImageSource Class
Microsoft.Graphics.Canvas.UI.Xaml Namespace
Copyright (c) Microsoft Corporation. All rights reserved.