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
StreamAn output stream to contain the SVG XML subtree.
subtree
ISvgElementThe root of the subtree. If null, the entire document is serialized.