ID2D1SvgDocument::Deserialize method

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

inputXmlStream [in]

Type: IStream*

An input stream containing the SVG XML subtree.

subtree [out]

Type: ID2D1SvgElement**

The root of the subtree.

Return value

Type: HRESULT

This method returns an HRESULT success or error code.

Requirements

Header

D2d1svg.h

DLL

Direct2d.dll

See also

ID2D1SvgDocument

 

 

Show: