ID2D1SvgElement::GetAttributeValueLength method
Gets the string length of an attribute of this element.
Syntax
HRESULT GetAttributeValueLength(
[in] PCWSTR name,
D2D1_SVG_ATTRIBUTE_STRING_TYPE type,
[out] UINT32 *valueLength
);
Parameters
- name [in]
-
Type: PCWSTR
The name of the attribute.
- type
-
Type: D2D1_SVG_ATTRIBUTE_STRING_TYPE
The string type of the attribute.
- valueLength [out]
-
Type: UINT32*
The lengthe of the attribute. The returned string length does not include room for the null terminator.
Return value
Type: HRESULT
This method returns an HRESULT success or error code. Returns an error if the attribute is not specified. 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.
Requirements
|
Header |
|
|---|---|
|
DLL |
|
See also