Search
Box.Clone Method
See Also
 



Creates a copy of this box.

 Syntax

VB6  Copy Code

Public Function Clone () As Box

C++  Copy Code

public:
Box* Clone ()

 Return Value

A reference to Box object representing the newly created box.

 Remarks

Creates a new box that has the same attributes as this box. The copy also has the same coordinates as the original box, so it might be useful to call the MoveTo method to move the boxes apart.

 See Also