Method CreateSvgDocument
- Namespace
- PaintDotNet.Direct2D1
- Assembly
- PaintDotNet.Windows.dll
CreateSvgDocument(Stream?, SizeFloat)
Creates an SVG document from a stream.
ISvgDocument CreateSvgDocument(Stream? inputXmlStream, SizeFloat viewportSize)
Parameters
inputXmlStreamStreamAn input stream containing the SVG XML document. If null, an empty document is created.
viewportSizeSizeFloatSize of the initial viewport of the document.
Returns
- ISvgDocument
The created SVG document.