ID2D1SvgElement::SetAttributeValue(PCWSTR,constD2D1_SVG_LENGTH&) method (d2d1svg.h)

Sets an attribute of this element as a length value.

Syntax

HRESULT SetAttributeValue(
  [in]  PCWSTR                  name,
  [ref] const D2D1_SVG_LENGTH & value
);

Parameters

[in] name

Type: PCWSTR

Name of the attribute to set.

[ref] value

Type: const D2D1_SVG_LENGTH

The new 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

See also

ID2D1SvgElement