Table of Contents

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 Stream

An input stream containing the SVG XML document. If null, an empty document is created.

viewportSize SizeFloat

Size of the initial viewport of the document.

Returns

ISvgDocument

The created SVG document.