Copies the valid paint automation data on the clipboard to the class object's container.
#include "Ltwrappr.h"
L_INT LRasterPaintWindow::Paste()
Value | Meaning |
---|---|
SUCCESS | The function was successful. |
< 1 | An error occurred. Refer to Return Codes. |
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.
L_INT LRasterPaintWindow_PasteExample(LRasterPaintWindow * pLRasterPntWnd)
{
L_INT nRet = FAILURE ;
if ( pLRasterPntWnd->IsValid () )
nRet = pLRasterPntWnd->Paste();
else
return FAILURE;
return nRet;
}