ID2D1SvgElement::CreateChild method (d2d1svg.h)
Creates an element from a tag name. The element is appended to the list of children.
Syntax
HRESULT CreateChild(
[in] PCWSTR tagName,
[out] ID2D1SvgElement **newChild
);
Parameters
[in] tagName
Type: PCWSTR
The tag name of the new child. An empty string is interpreted to be a text content element.
[out] newChild
Type: ID2D1SvgElement**
The new child element.
Return value
Type: HRESULT
This method returns an HRESULT success or error code. Returns an error if this element cannot accept children of the specified type.
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