ID2D1SvgElement::GetPreviousChild method

Gets the previous sibling of the referenceChild element.

Syntax


HRESULT GetPreviousChild(
  [in] ID2D1SvgElement *referenceChild,
       ID2D1SvgElement **previousChild
);

Parameters

referenceChild [in]

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

Header

D2d1svg.h

DLL

Direct2d.dll

See also

ID2D1SvgElement

 

 

Show: