Description

Remove all visible graphic objects from the collection.

Return Type

None  

Syntax

object.RemoveAll [DeleteLinkedFeatures]

The RemoveAll Method syntax has these parts:

PartDescription
objectAn expression evaluating to an object of type McGraphOverlay.
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

Objects are removed if they are visible (mcgsVisible Style bit set).