LRasterPaintWindow::Paste

#include "Ltwrappr.h"

L_INT LRasterPaintWindow::Paste()

Copies the valid paint automation data on the clipboard to the class object's container.

Returns

SUCCESS

The function was successful.

< 1

An error occurred. Refer to Return Codes.

Comments

To copy paint automation data from the class object's container to the clipboard use LRasterPaintWindow::Copy. Paint automation data can be cut from the class object's container and placed on the clipboard using LRasterPaintWindow::Cut.

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::Cut, LRasterPaintWindow::Copy, Class Members

Example

L_INT  Paste(LRasterPaintWindow * pLRasterPntWnd) 
{
   L_INT  nRetCode = FAILURE ;

   if ( pLRasterPntWnd->IsValid () )
      nRetCode  =  pLRasterPntWnd->Paste();

   return  nRetCode;
}