SetShape Method

Copies a shape into the specified master object. Alters the contents of the master object (the Shape property).

Applies to: Master object

Syntax

object.SetShape ( shapeSrc )

The SetShape method syntax has these parts:

Part Description
object Required. An expression that returns a Master object.
countRet Optional. A Long type variable.

Remarks

If the shape specified by shapeSrc couldn't be copied, the SetShape method doesn't change the shape in the Shape property. If the shape has been copied successfully, the shape contained in this master object becomes identical to the one specified by shapeSrc.

 

See Also

Shape property, Equal method, SetIcon method, Shape object