Available in LEADTOOLS Medical Imaging toolkits. |
Implementing Animation
To check whether the cell is in an animation phase, call LImageViewerCell::IsCellAnimated.
To load and play an animation, a cell must contain a multiple frames image.
Play an animation by calling the function LImageViewerCell::StartAnimation.
Stop the animation anytime by calling the function LImageViewerCell::StopAnimation.
Apply actions like window level, alpha, offset, and others while the animation is running by calling LImageViewerCell::AddAction.
To obtain animation properties for a specified cell, call LImageViewerCell::GetAnimationProperties.
To change the animation properties of a specified cell, like which frames are going to be included in the animation and the direction of the animation by setting the desired values in the structure DISPANIMATIONPROPS using LImageViewerCell::SetAnimationProperties.
To enable or disable the animation started callback function, call LImageViewerCell::AnimationStartedCallBack.
To enable or disable the animation stopped callback function, call LImageViewerCell::AnimationStoppedCallBack.
Working with the LEADTOOLS Medical Image Viewer Control
Using the Medical Image Viewer Control
Creating a Bitmap Region Inside the Image Viewer
For more information, refer to:
Summary of All Supported Image File Formats
See Also: