Programmer's Guide > Interfaces > TableRectangle interface > copyRectangle method
  
copyRectangle method
Copies the contents and attributes from one rectangle to another rectangle. The two rectangles must be the same size. They do not have to be in the same document or managed by the same table model.
copyRectangle(sourceRectangle )
Parameters
TableRectanglesourceRectangle
The rectangle to be copied into this rectangle. It may be in a different document and it may managed by a different table model.
Returns
void
Throws
TableException
INVALID_PARAMETER_ERR: Raised if the source rectangle is not the same size as this rectangle.
OPERATION_FAILED_ERR: Raised if the copy can not be done for a reason other than the source rectangle being a different size than this rectangle.