ID2D1SvgElement::GetPreviousChild method (d2d1svg.h)
Gets the previous sibling of the referenceChild element.
Syntax
HRESULT GetPreviousChild(
[in] ID2D1SvgElement *referenceChild,
ID2D1SvgElement **previousChild
);
Parameters
[in] referenceChild
Type: ID2D1SvgElement*
The referenceChild must be an immediate child of this element.
previousChild
Type: ID2D1SvgElement**
The output previousChild element will be non-null if the referenceChild has a previous sibling. If the referenceChild is the first child, the output is null.
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 |