Partager via


Duration property

Sets or retrieves the length of time the transition takes to complete.

Syntax

HRESULT value = object.put_Duration(float newVal);HRESULT value = object.get_Duration(float* pval);

Property values

Type: float

the length of playback time, in seconds.

Remarks

The minimum value for ICSSFilterDispatch::Duration is zero (0.0).

You can also set the playback duration as a parameter of the ICSSFilterDispatch::Play method.