| CanvasSvgDocument Methods |
The CanvasSvgDocument type exposes the following members.
| Name | Description | |
|---|---|---|
| CreatePaintAttribute | [Win10_15063] Creates an attribute that can be used for a stroke or fill value. | |
| CreatePaintAttribute(CanvasSvgPaintType, Color, String) | [Win10_15063] Creates an attribute that can be used for a stroke or fill value. | |
| CreatePathAttribute | [Win10_15063] Creates an attribute that can be used for path data, for example on the 'd' attribute of a 'path' element. | |
| CreatePathAttribute(Single, CanvasSvgPathCommand) | [Win10_15063] Creates an attribute that can be used for path data, for example on the 'd' attribute of a 'path' element. | |
| CreatePointsAttribute | [Win10_15063] Creates an attribute that can be used to describe a collection of points, for example in a polyline or polygon element. | |
| CreatePointsAttribute(Vector2) | [Win10_15063] Creates an attribute that can be used to describe a collection of points, for example in a polyline or polygon element. | |
| CreateStrokeDashArrayAttribute | [Win10_15063] Creates an attribute that can be used as a stroke-dasharray vlalue. | |
| CreateStrokeDashArrayAttribute(Single, CanvasSvgLengthUnits) | [Win10_15063] Creates an attribute that can be used as a stroke-dasharray vlalue. | |
| Dispose | [Win10_15063] Releases all resources used by the CanvasSvgDocument. | |
| FindElementById | [Win10_15063] Finds the element in this document which has the specified ID. | |
| GetXml | [Win10_15063] Gets a string containing the SVG for this document. | |
| IsSupported | [Win10_15063] Checks whether CanvasSvgDocument is supported on the current operating system version. | |
| LoadAsync | [Win10_15063] Loads an SVG document from a stream. | |
| LoadElementAsync | [Win10_15063] Loads an SVG element from a stream containing an XML fragment. | |
| LoadElementFromXml | [Win10_15063] Loads an SVG element from string containing an XML fragment. | |
| LoadFromXml | [Win10_15063] Loads an SVG document from a string. | |
| SaveAsync | [Win10_15063] Saves a string containing the SVG for this document. |