IUIAnimationVariable2::GetCurve 方法 (uianimation.h)

取得動畫變數的動畫曲線。

語法

HRESULT GetCurve(
  [in] IDCompositionAnimation *animation
);

參數

[in] animation

產生動畫曲線基本序列的物件。

傳回值

如果此方法成功,則會傳回S_OK。 否則,它會傳回 HRESULT 錯誤碼。 如需錯誤碼的清單,請參閱 Windows 動畫錯誤 碼。

備註

應用程式會實作動畫參數所參考的IDCompositionAnimation物件。

規格需求

需求
最低支援的用戶端 Windows 8、適用於 Windows 7 的 Windows 7 和平臺更新 [傳統型應用程式 |UWP 應用程式]
最低支援的伺服器 都不支援
目標平台 Windows
標頭 uianimation.h
Dll UIAnimation.dll

另請參閱

IUIAnimationVariable2