ID2D1SvgDocument::Deserialize method (d2d1svg.h)

Deserializes a subtree from the stream. The stream must have only one root element, but that root element need not be an 'svg' element. The output element is not inserted into this document tree.

Syntax

HRESULT Deserialize(
  [in]  IStream         *inputXmlStream,
  [out] ID2D1SvgElement **subtree
);

Parameters

[in] inputXmlStream

Type: IStream*

An input stream containing the SVG XML subtree.

[out] subtree

Type: ID2D1SvgElement**

The root of the subtree.

Return value

Type: HRESULT

This method returns an HRESULT success or error code.

Requirements

Requirement Value
Target Platform Windows
Header d2d1svg.h
DLL Direct2d.dll

See also

ID2D1SvgDocument