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
inputXmlStream
StreamAn input stream containing the SVG XML document. If null, an empty document is created.
viewportSize
SizeFloatSize of the initial viewport of the document.
Returns
- ISvgDocument
The created SVG document.