ID2D1SvgDocument::FindElementById method (d2d1svg.h)

Gets the SVG element with the specified ID.

Syntax

HRESULT FindElementById(
  [in] PCWSTR          id,
       ID2D1SvgElement **svgElement
);

Parameters

[in] id

Type: PCWSTR

ID of the element to retrieve.

svgElement

Type: ID2D1SvgElement**

The element matching the specified ID. If the element cannot be found, the returned element will be 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

See also

ID2D1SvgDocument