ID2D1SvgElement::GetAttributeValue(PCWSTR,ID2D1SvgPaint**) method (d2d1svg.h)

Gets an attribute of this element as a paint. This method can be used to get the value of the fill or stroke properties.

Syntax

HRESULT GetAttributeValue(
  [in] PCWSTR        name,
       ID2D1SvgPaint **value
);

Parameters

[in] name

Type: PCWSTR

The name of the attribute.

value

Type: ID2D1SvgPaint**

The value of the attribute.

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

ID2D1SvgElement