LAnnAutomation::Undo

Summary

Reverses the last user action that was executed using the automated annotation functions.

Syntax

#include "ltwrappr.h"

virtual L_INT LAnnAutomation::Undo(uLevels=1)

Parameters

L_UINT uLevels

Number of undo operations to be done.

Returns

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

Comments

This function can be used repeatedly to reverse the number of actions specified by the LAnnAutomation::SetUndoDepth function. When the stack is empty, it returns an error.

There is only one undo depth value per root container. (Subcontainers do not have their own separate values.)

Required DLLs and Libraries

Platforms

Win32, x64.

See Also

Functions

Topics

Example

This example reverses the last user action in automation
mode.

L_INT LAnnAutomation_UndoExample(LAnnAutomation  * pAnnAutomation) 
{ 
    return pAnnAutomation->Undo();  
} 

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

LEADTOOLS Raster Imaging C++ Class Library Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.