以動畫顯示 OffsetZ 屬性的值。
語法
HRESULT SetOffsetZ(
[in] IDCompositionAnimation *animation
);
參數
[in] animation
要控制 OffsetZ 屬性的動畫。
傳回值
類型: HRESULT
如果此方法成功,則會傳回 S_OK。 否則,它會傳回 HRESULT 錯誤碼。
規格需求
| 需求 | 值 |
|---|---|
| 目標平台 | Windows |
| 標頭 | dcomp.h |
| 程式庫 | Dcomp.lib |
| Dll | Dcomp.dll |
以動畫顯示 OffsetZ 屬性的值。
HRESULT SetOffsetZ(
[in] IDCompositionAnimation *animation
);
[in] animation
要控制 OffsetZ 屬性的動畫。
類型: HRESULT
如果此方法成功,則會傳回 S_OK。 否則,它會傳回 HRESULT 錯誤碼。
| 需求 | 值 |
|---|---|
| 目標平台 | Windows |
| 標頭 | dcomp.h |
| 程式庫 | Dcomp.lib |
| Dll | Dcomp.dll |