ID2D1SvgElement::SetAttributeValue(PCWSTR,D2D1_FILL_MODE) method (d2d1svg.h)

Sets an attribute of this element as a fill mode. This method can be used to set the value of the 'fill-rule' or 'clip-rule' properties.

Syntax

HRESULT SetAttributeValue(
  PCWSTR         name,
  D2D1_FILL_MODE value
);

Parameters

name

Type: PCWSTR

Name of the attribute to set.

value

Type: D2D1_FILL_MODE

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