ID2D1SvgElement::AppendChild method (d2d1svg.h)
Appends an element to the list of children. If the element already has a parent, it is removed from this parent as part of the append operation.
Syntax
HRESULT AppendChild(
[in] ID2D1SvgElement *newChild
);
Parameters
[in] newChild
Type: ID2D1SvgElement*
The element to append.
Return value
Type: HRESULT
This method returns an HRESULT success or error code. Returns an error if this element cannot accept children of the type of newChild. Returns an error if the newChild is an ancestor of this element.
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | d2d1svg.h |
DLL | Direct2d.dll |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for