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