ID2D1SvgElement::GetTextValue 方法 (d2d1svg.h)

获取文本内容元素的值。

语法

HRESULT GetTextValue(
  [out] PWSTR  name,
        UINT32 nameCount
);

参数

[out] name

类型: PWSTR

文本内容元素的值。

nameCount

类型: UINT32

name 参数中值的长度。

返回值

类型: HRESULT

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

要求

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

另请参阅

ID2D1SvgElement