CanvasDrawingSessionDrawSvg Method (CanvasSvgDocument, Size) |
Namespace: Microsoft.Graphics.Canvas
public void DrawSvg( CanvasSvgDocument svgDocument, Size viewportSize )
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.