LRasterPaintWindow::Cut

#include "Ltwrappr.h"

L_INT LRasterPaintWindow::Cut()

Cuts the selected objects in the class object's container to the Windows clipboard.

Returns

SUCCESS

The function was successful.

< 1

An error occurred. Refer to Return Codes.

Comments

To paste paint automation data on the clipboard to the class object's container, call LRasterPaintWindow::Paste.

To copy paint automation data from the class object's container, to the Windows clipboard, use LRasterPaintWindow::Copy.

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

Required DLLs and Libraries

LTPNT
LTDIS
LTFIL
LTAUT
LTCON
LTTLB

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:

LRasterPaintWindow::Paste, LRasterPaintWindow::Copy, Class Members

Example

L_INT LRasterPaintWindow_CutExample(LRasterPaintWindow * pLRasterPntWnd) 
{
   L_INT nRet;
   nRet = pLRasterPntWnd->Print ();
   if(nRet != SUCCESS)
      return nRet;
   nRet = pLRasterPntWnd->Cut();
   if(nRet != SUCCESS)
      return nRet;
   return  SUCCESS;
}