LRasterPaintWindow::Redo

Summary

Repeats that last automation operation performed in the class object's container.

Syntax

#include "Ltwrappr.h"

L_INT LRasterPaintWindow::Redo()

Returns

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

Comments

This function can be called for each process "undone" in the class object's container by calling LRasterPaintWindow::Undo. For example, if LRasterPaintWindow::Undo has been called three times, to undo three processes, then calling LRasterPaintWindow::Redo can redo those three processes. The first call to LRasterPaintWindow::Redo will redo the first process; the second call will redo the second process and the third call will redo the third process.

LRasterPaintWindow::Initialize must be called before calling this function.

Required DLLs and Libraries

See Also

Functions

Example

L_INT LRasterPaintWindow_RedoExample(LRasterPaintWindow * pLRasterPntWnd)  
{ 
   L_INT nRet = FAILURE; 
 
   if( pLRasterPntWnd->CanRedo () ) 
      nRet = pLRasterPntWnd->Redo(); 
   else 
      return FAILURE; 
 
   return  nRet; 
} 
Help Version 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

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