Click or drag to resize
CanvasSvgDocumentIsSupported Method
[Win10_15063] Checks whether CanvasSvgDocument is supported on the current operating system version.

Namespace:  Microsoft.Graphics.Canvas.Svg
Assembly:  Microsoft.Graphics.Canvas (in Microsoft.Graphics.Canvas.dll) Version: 0.0.0.0
Syntax
C#
public static bool IsSupported(
	CanvasDevice device
)

Parameters

device
Type: Microsoft.Graphics.CanvasCanvasDevice

Return Value

Type: Boolean
Remarks

This API is only available when running on Windows 10 build 15063 (Creators Update) or greater.

If the application is currently running on an operating system that doesn't support SVG features, then calls to Load or LoadAsync will fail.

If you know that your application will never run on an operating system that doesn't support SVG documents then there is no need to perform this check.

See Also