ID2D1SvgElement::GetAttributeValue(PCWSTR,D2D1_COLOR_F*) method (d2d1svg.h)
Gets an attribute of this element as a string.
Syntax
HRESULT GetAttributeValue(
PCWSTR name,
D2D1_COLOR_F *value
);
Parameters
name
Type: [in] PCWSTR
The name of the attribute.
value
Type: [out] PWSTR
The value of the attribute.
Return value
Type: HRESULT
This method returns an HRESULT success or error code. Returns an error if the attribute name is not valid on this element. Returns an error if the attribute cannot be expressed as the specified string type. Returns an error if the attribute is not specified.
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | d2d1svg.h |
DLL | Direct2d.dll |