Table of Contents

Method Serialize

Namespace
PaintDotNet.Direct2D1
Assembly
PaintDotNet.Windows.dll

Serialize(Stream, ISvgElement?)

Serializes an element and its subtree to XML. The output XML is encoded as UTF-8.

void Serialize(Stream outputXmlStream, ISvgElement? subtree = null)

Parameters

outputXmlStream Stream

An output stream to contain the SVG XML subtree.

subtree ISvgElement

The root of the subtree. If null, the entire document is serialized.