ID2D1SvgDocument::SetRoot method
Sets the root element of the document. The root element must be an svg element. If the element already exists within an svg tree, it is first removed.
Syntax
HRESULT SetRoot(
[in, optional] ID2D1SvgElement *root
);
Parameters
- root [in, optional]
-
Type: ID2D1SvgElement*
The new root element of the document.
Return value
Type: HRESULT
This method returns an HRESULT success or error code.
Requirements
|
Header |
|
|---|---|
|
DLL |
|
See also
Show: