CopyToClipboard
Copy a rectangle portion of the matrix object to the clipboard.
BOOL CopyToClipboard( RECT * pRect )
Return TRUE if the rectangle was copied else FALSE
EX1
//Before run the following code, new a matrix and import an image to the matrix. void MatrixObject_CopyToClipboard_Ex1() { RECT rect; rect.left = 1; rect.top = 1; rect.right = 10; rect.bottom = 10; MatrixPage mp = Project.MatrixPages(0); if(!mp) return; MatrixObject mo(mp.GetName(), 0); if( mo.CopyToClipboard(&rect) ) printf("MatrixObject copied to clipboard"); }
CopyToMatrix
origin.h