Description

Removes this object from the McGraphOverlay collection.

Return Type

None  

Syntax

object.Remove [DeleteLinkedFeatures]

The Remove Method syntax has these parts:

PartDescription
objectAn expression evaluating to an object of type McGraphObjPoint.
DeleteLinkedFeaturesOptional. A Boolean value.

If TRUE, then any linked IMcFeatures feature is deleted as well. If FALSE, only the graph object is removed, but any linked feature is left intact. It is FALSE by default.

Remarks

This will clear the object from the overlay, but it will only be destroyed when its last reference will be released.