LAutomation::GetUndoLevel

#include "ltwrappr.h"

L_UINT LAutomation::GetUndoLevel(void);

Gets the current automation undo level.

Returns

The current automation undo level.

Comments

The undo level determines the number of automation operations that can be done within an automation container. If the undo level is set to the default value of DEF_AUTOMATION_UNDO_LEVEL [16], then each container associated with the automation handle has an undo level of 16.

To change the undo level call LAutomation::SetUndoLevel.

To undo an automation operation, call LAutomation::Undo.

To determine whether an automation operation can be undone, call LAutomation::CanUndo.

For information about grouping multiple operations into a single undo process, refer to LAutomation::AddUndoNode.

Required DLLs and Libraries

LTAUT

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:

LAutomation::SetUndoLevel, LAutomation::Undo, LAutomation::CanUndo

Topics:

Undoing and Redoing Automation Operations

Example

For an example, refer to LAutomation::SetUndoLevel.