ID2D1SvgElement::IsAttributeSpecified method (d2d1svg.h)

Returns a boolean indicating if the attribute is explicitly set on the element.

Syntax

BOOL IsAttributeSpecified(
  [in]            PCWSTR name,
  [out, optional] BOOL   *inherited
);

Parameters

[in] name

Type: PCWSTR

The name of the attribute.

[out, optional] inherited

Type: BOOL*

Outputs whether the attribute is set to the inherit value.

Return value

Type: BOOL

TReturns true if the attribute is explicitly set on the element or if it is present within an inline style. Returns FALSE if the attribute is not a valid attribute on this element.

Requirements

Requirement Value
Target Platform Windows
Header d2d1svg.h
DLL Direct2d.dll

See also

ID2D1SvgElement