L_AutCanUndo

#include "ltaut.h"

L_LTAUT_API L_INT L_AutCanUndo(pAutomation, pfCanUndo)

Indicates whether the last automation operation in the active automation container can be undone.

Parameters

pAUTOMATIONHANDLE pAutomation

Pointer to an automation handle.

L_BOOL * pfCanUndo

A pointer to a variable to be updated with a value that indicates whether an undo can be performed. Possible values are:

Value Meaning
TRUE The last automation operation can be undone.
FALSE The last automation operation cannot be undone.

Returns

Value Meaning
SUCCESS The function was successful.
< 1 An error occurred. Refer to Return Codes.

Comments

To determine the current undo level call L_AutGetUndoLevel.

To change the undo level call L_AutSetUndoLevel.

To undo an automation operation, call L_AutUndo.

For information about grouping multiple operations into a single undo process, refer to L_AutAddUndoNode.

Required DLLs and Libraries

See Also

Functions

Topics

Example

For an example, refer to L_AutUndo.

Help Version 21.0.2020.8.24
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Container and Automation C API Help