CanvasSvgDocument Constructor |
Namespace: Microsoft.Graphics.Canvas.Svg
public CanvasSvgDocument( ICanvasResourceCreator resourceCreator )
This API is only available when running on Windows 10 build 15063 (Creators Update) or greater.
This creates a blank document. A blank document is automatically given a single empty root <svg/> node.
To add content to the document, replace the root node using Root or add to it using AppendChild(ICanvasSvgElement).