Click or drag to resize
CanvasDrawingSessionDrawSvg Method (CanvasSvgDocument, Size, Vector2)
[Win10_15063] Draws an SVG document with the specified viewport size, at the specified coordinate location.

Namespace:  Microsoft.Graphics.Canvas
Assembly:  Microsoft.Graphics.Canvas (in Microsoft.Graphics.Canvas.dll) Version:

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

The viewport size is in device-independent units. Its width and height must be positive and nonzero. The viewport is separate from the SVG <viewbox> element; a viewbox is within a viewport.

The specified coordinates are in device-independent units.

See Also