ID2D1SvgElement::GetSpecifiedAttributeNameLength method (d2d1svg.h)

Gets the string length of the name of the specified attribute at the given index. The output string length does not include room for the null terminator.

Syntax

HRESULT GetSpecifiedAttributeNameLength(
                  UINT32 index,
  [out]           UINT32 *nameLength,
  [out, optional] BOOL   *inherited
);

Parameters

index

Type: UINT32

The index of the attribute.

[out] nameLength

Type: UINT32*

Outputs the string length of the name of the specified attribute.

[out, optional] inherited

Type: BOOL*

Indicates whether the attribute is set to the inherit value.

Return value

Type: HRESULT

This method returns an HRESULT success or error code.

Requirements

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

See also

ID2D1SvgElement