ID2D1SvgElement::GetAttributeValue (PCWSTR,D2D1_SVG_VISIBILITY*) 方法 (d2d1svg.h)

获取此元素的属性作为可见性值。 此方法可用于获取 visibility 属性的值。

语法

HRESULT GetAttributeValue(
  [in]  PCWSTR              name,
  [out] D2D1_SVG_VISIBILITY *value
);

参数

[in] name

类型: PCWSTR

属性名。

[out] value

类型: D2D1_SVG_VISIBILITY*

属性的值。

返回值

类型: HRESULT

此方法返回 HRESULT 成功或错误代码。

要求

要求
目标平台 Windows
标头 d2d1svg.h
DLL Direct2d.dll

另请参阅

ID2D1SvgElement