Add method

Microsoft Visio Developer Reference

Add method

       

Adds a new object to a collection.

Version added

2.0

Syntax

objRet = object.Add

objRet

The new object added to the collection.

object

Required. An expression that returns an object in the Applies to list.

Remarks

All properties of the new object are initialized to zero, so you need to set only the properties that you want to change.