ID2D1SvgElement::IsAttributeSpecified method

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

Syntax


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

Parameters

name [in]

Type: PCWSTR

The name of the attribute.

inherited [out, optional]

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

Header

D2d1svg.h

DLL

Direct2d.dll

See also

ID2D1SvgElement

 

 

Show: