Available in LEADTOOLS Medical Imaging toolkits. |
LImageViewer::AnimationStartedCallBack
#include "ltwrappr.h"
virtual L_INT LImageViewer::AnimationStartedCallBack(nCellIndex)
L_INT nCellIndex; |
/* index of a cell */ |
This callback function is fired if the control animation has been started. This feature is available in version 16 or higher.
Parameter |
Description |
nCellIndex |
Index of the cell, which has the animation engine started. |
Returns
SUCCESS |
The function was successful. |
< 1 |
An error occurred. Refer to Return Codes. |
Comments
In order to use this callback function, it must first be set by calling the LImageViewer::EnableAnimationStartedCallBack function.
For animation stop callback, use the LImageViewer::AnimationStoppedCallBack function, to use this callback, it must first be set by calling the LImageViewer::EnableAnimationStoppedCallBack function.
The cell(s) must contain multiple frames.
To start the animation, call the LImageViewer::StartAnimation function.
To stop the animation, call the LImageViewer::StopAnimation function.
To check whether the cell is in an animation phase, call the LImageViewer::IsCellAnimated function.
The user can change or retrieve the animation properties even if the animation has been started.
The user also can change the cell properties, and can apply various actions while the animation is running.
To retrieve the animation properties of a specific cell, call the LImageViewer::GetAnimationProperties function.
To change the animation properties of a specific cell, call the LImageViewer::SetAnimationProperties function.
Required DLLs and Libraries
LTIVW For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application. |
See Also
Example
For an example, refer to LImageViewer::EnableAnimationStartedCallBack.