LEADTOOLS Raster Imaging C DLL Help > Function References > L_AnnGetAutoUndoEnable |
#include "l_bitmap.h"
L_LTANN_API L_INT L_AnnGetAutoUndoEnable(hObject, pbEnable);
HANNOBJECT hObject; |
/* handle to the automation object */ |
L_BOOL *pbEnable; |
/* pointer to a variable to be updated */ |
Retrieves the state of the undo mechanism for an automation object.
Parameter |
Description |
hObject |
Handle to the automation object. |
pbEnable |
Pointer to a variable to be updated with a value that indicates whether the undo mechanism for the automation object is enabled or disabled. |
Returns
SUCCESS |
The function was successful. |
< 1 |
An error occurred. Refer to Return Codes. |
Comments
To enable or disable a particular automation object, call L_AnnSetAutoUndoEnable.
Required DLLs and Libraries
For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application. |
Win32, x64.
See Also
Example
For an example, refer to L_AnnGetAutoUndoEnable.