L_AnnSetUndoDepth
#include "l_bitmap.h"
L_LTANN_API L_INT L_AnnSetUndoDepth(hObject, uLevels)
HANNOBJECT hObject; |
/* handle to the automation object */ |
L_UINT uLevels; |
/* number of levels */ |
Specifies the number of user actions that can be reversed using the L_AnnUndo function. This function is available in the Document/Medical Toolkits.
Parameter |
Description |
hObject |
Handle to the automation object. |
uLevels |
The number of levels that can be undone. |
Returns
SUCCESS |
The function was successful. |
< 1 |
An error occurred. Refer to Return Codes. |
Comments
This function is used only with the automated annotation functions, and there is only one undo depth value per root container. (Subcontainers do not have their own separate values.)
Required DLLs and Libraries
LTANN For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application. |
Platforms
Windows 2000 / XP/Vista.
See Also
Example
For an example, refer to Implementing an Automated Annotation Program. For complete sample code, refer to the ANNOTATE example. example.