Available in LEADTOOLS Medical Imaging toolkits. |
L_DispContainerSetAnimationProperties
#include "ltivw.h"
L_LTIVW_API L_INT L_DispContainerSetAnimationProperties(hCon, nCellIndex, pDisAnimationProps, uFlags)
HDISPCONTAINER hCon; |
/* handle to the container */ |
L_INT nCellIndex; |
/* index of a cell */ |
pDISPANIMATIONPROPS pDisAnimationProps; |
/* pointer to DISPANIMATIONPROPS structure */ |
L_UINT uFlags; |
/* reserved for future use */ |
Changes the animation properties of a specific cell.
Parameter |
Description |
hCon |
Handle to the container. |
nCellIndex |
A zero-based index of the cell for which to change the animation properties. Pass -1 to change the animation properties for all cells. Pass -2 to change the animation properties for the selected cells. |
pDisAnimationProps |
Pointer to the DISPANIMATIONPROPS structure that contains the animation properties to change. |
uFlags |
Reserved for future use. Pass 0. |
Returns
SUCCESS |
The function was successful. |
< 1 |
An error occurred. Refer to Return Codes. |
Comments
Before calling L_DispContainerSetAnimationProperties the user should:
1. |
Declare a variable of type DISPANIMATIONPROPS. |
2. |
Specify the new property values in the appropriate members. |
3. |
Pass a pointer to the DISPANIMATIONPROPS structure to L_DispContainerSetAnimationProperties as the pDisAnimationProps parameter. |
To retrieve the current animation properties of the specified cell, call the L_DispContainerGetAnimationProperties function.
For more information on the available animation properties, refer to the DISPANIMATIONPROPS structure.
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
Functions: |
L_DispContainerCreate, L_DispContainerDestroy, L_DispContainerStartAnimation, L_DispContainerStopAnimation, L_DispContainerGetAnimationProperties, L_DispContainerIsCellAnimated |
Topics: |
Example
For an example, refer to L_DispContainerStartAnimation.