Partager via


CInterpolatorBase::SetDuration

Sets the interpolator's duration

IFACEMETHOD(
   SetDuration
)(__in UI_ANIMATION_SECONDS duration);

Parameters

  • duration
    The duration of the transition.

Return Value

If the method succeeds, it returns S_OK. It returns E_FAIL if CCustomInterpolator is not set, or custom implementation returns FALSE from the SetDuration method.

Requirements

Header: afxanimationcontroller.h

See Also

Reference

CInterpolatorBase Class