Description

Deselect a graphic object or all selected objects.

Return Type

None  

Syntax

object.Deselect [Object]

The Deselect Method syntax has these parts:

PartDescription
objectAn expression evaluating to an object of type McGraphOverlay.
ObjectOptional. A Variant value.

Empty, or a selected graphic object.

Remarks

When the Object VARIANT parameter is empty or null (VT_EMPTY,VT_ERROR,VT_NULL), all currently selected objects are deselected.

Notes

The ObjectDeselected notifications are always sent with the NotifyContext mcgoncFromTool bit off. If you want to signal to nofify sinks that the Select call is from a user interface element (e.g., a tool), then assign mcgoncFromUser to the NotifyContext property just before calling Deselect.