To check whether the cell is in an animation phase, call the LImageViewerCell::IsCellAnimated function.
To load and play an animation, a cell must contain a multiple-frame image.
Play an animation by calling the LImageViewerCell::StartAnimation function.
Stop an animation anytime by calling the LImageViewerCell::StopAnimation. function.
Apply actions like window-leveling, alpha, offset, and others while an animation is running by calling the LImageViewerCell::AddAction function.
To obtain animation properties for a specified cell, call the LImageViewerCell::GetAnimationProperties function.
To change the animation properties of a specified cell (like which frames are going to be included in the animation or the direction of the animation), set the desired values in the DISPANIMATIONPROPS structure using the LImageViewerCell::SetAnimationProperties function.
To enable or disable the animation started callback function, call the LImageViewerCell::AnimationStartedCallBack function.
To enable or disable the animation stopped callback function, call the LImageViewerCell::AnimationStoppedCallBack function.
Working with the LEADTOOLS Medical Image Viewer Control
For more information, refer to: