SetInitialVelocity Method
Collapse the table of content
Expand the table of content

IUIAnimationTransition::SetInitialVelocity method

Sets the initial velocity for the transition.

Syntax


HRESULT SetInitialVelocity(
  [in] DOUBLE velocity
);

Parameters

velocity [in]

The initial velocity for the transition.

Return value

If the method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code. See Windows Animation Error Codes for a list of error codes.

Remarks

This method should not be called after the transition has been added to a storyboard.

Requirements

Minimum supported client

Windows 7, Windows Vista and Platform Update for Windows Vista [desktop apps | Windows Store apps]

Minimum supported server

None supported

Header

UIAnimation.h

IDL

UIAnimation.idl

DLL

UIAnimation.dll

 

 

Show:
© 2016 Microsoft