Description

Remove one McGraphObj from the collection

Return Type

None  

Syntax

object.Remove varItem

The Remove Method syntax has these parts:

PartDescription
objectAn expression evaluating to an object of type McDisplayedObjects.
varItemRequired. A Variant value.

Either an McGraphObj object instance or an index number.

If an McGraphObj object instance, then the collection is searched for that McGraphObj instance. If the object is found, then it is removed from the collection. If the object is not found, then the routine just returns without error.

If an index number, then that McGraphObj instance is removed from the collection. The index number must be from zero to Count-1.

Remarks

You may specify the graph object to remove by either the index number or by the object instance.