LAutomation::Delete

#include "ltwrappr.h"

L_INT LAutomation::Delete (dwFlags=0)

Deletes the selected objects from the active automation container.

Parameters

L_UINT32 dwFlags

Reserved for future use. Must be 0.

Returns

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

Required DLLs and Libraries

See Also

Functions

Topics

Example

This example shows how to do a delete operation on the current automation selection.

L_INT LAutomation_DeleteExample(LAutomation &lauto) 
{ 
   L_INT nRet; 
 
   nRet = lauto.IsValid (); 
 
   if ( SUCCESS == nRet ) /* check the validity of the automation handle */ 
 
   { 
 
      /* delete the current selection */ 
 
      nRet = lauto.Delete () ; 
      if(nRet != SUCCESS) 
         return nRet; 
 
   } 
 
   else 
 
   { 
 
      return nRet ; 
 
   } 
 
   return SUCCESS; 
} 

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

LEADTOOLS Container and Automation C++ Class Library Help