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