ID2D1SvgElement::GetAttributeValue(PCWSTR,D2D1_SVG_UNIT_TYPE) method (d2d1svg.h)
Gets an attribute of this element as a unit type value. This method can be used to get the value of a gradientUnits or clipPathUnits attribute.
Syntax
HRESULT GetAttributeValue(
[in] PCWSTR name,
[out] D2D1_SVG_UNIT_TYPE *value
);
Parameters
[in] name
Type: PCWSTR
The name of the attribute.
[out] value
Type: D2D1_SVG_UNIT_TYPE*
The value of the attribute.
Return value
Type: HRESULT
This method returns an HRESULT success or error code.
Requirements
| Target Platform | Windows |
| Header | d2d1svg.h |
| DLL | Direct2d.dll |