#include "ltwrappr.h"

L_INT LAutomation::Cut (dwFlags = 0)

Cuts the selected objects in the active automation container to the Windows clipboard.


L_UINT32 dwFlags

Reserved for future use. Must be 0.


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


To paste automation data on the clipboard to the active automation container, call LAutomation::Paste.

To copy automation data from the active automation container, to the Windows clipboard, use LAutomation::Copy.

To determine whether or not there is valid automation data present on the clipboard, call LAutomation::ClipboardDataReady.

Required DLLs and Libraries

See Also




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

L_INT LAutomation_CutExample(LAutomation &lauto) 
   L_INT nRet; 
   nRet = lauto.IsValid (); 
   if ( SUCCESS == nRet ) /* check the validity of the automation handle */ 
      /* cut the current selection to the clipboard */ 
      nRet = lauto.Cut() ; 
      if(nRet != SUCCESS) 
         return nRet; 
      return nRet ; 
   return SUCCESS ; 

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

LEADTOOLS Container and Automation C++ Class Library Help