AddMaster Method

Adds to the library a new master object, based on the specified existing shape. Returns a Master object that corresponds to the added master object.

Applies to: Library object

Syntax

[[Set] masterRet =] object.AddMaster ( shapeSrc )

The AddMaster method syntax has these parts:

Part Description
object Required. An expression that returns a Library object.
shapeSrc Required. An expression that returns a Shape object. The shape on which the new master object is based.
masterRet Optional. A Master type variable.

Remarks

If the specified shapeSrc shape couldn't be copied, the AddMaster method doesn't add the new master object and returns Nothing.

 

See Also

AddMaster method, FindMaster method, Master method, MasterByName method, MastersNum method, RemoveMaster method, RemoveMasterByName method