function replaces a canvas graphic in the representation with another canvas graphic and assigns the ID of the original canvas graphic to the new canvas graphic. This function is useful for implementing undo and redo functions in your applications.
virtual MCanvasGraphic* Swap( const TCanvasGraphicID&, MCanvasGraphic* adopt ) = 0;