Description

Controls and reflects the Master McGraphOverlay member of the collection

Property type

A McGraphOverlay object.  

Syntax

[Set] object.MasterGraphOverlay [= McGraphOverlay]

The MasterGraphOverlay Property syntax has these parts:

PartDescription
objectAn expression evaluating to an object of type McDisplayOverlays.
McGraphOverlayA McGraphOverlay object.

Remarks

The McFeatures.AutoDisplayOverlay is a shortcut to this property.

The current MasterGraphOverlay McGraphOverlay instance is exposed or Nothing if there is none. Initially the MasterGraphOverlay is automatically set to the collection Item named “DefaultOverlay”.

Assignment to the MasterGraphOverlay property causes the assigned member of this DisplayOverlays collection to be made visible and all other McGraphOverlay instances in the collection to be made non-visible. In addition, the MasterGraphOverlay i the only one who's member McGraphObj instances are includedby default in the McFeatures.DisplayedObjects property.

On assignment, you may assign any current member of this DisplayOverlays collection or Nothing if you wish to have no MasterGraphOverlay. If the assigned McGraphOverlay instance is not a member of the collection, an error is returned.

On access, the property is 'Nothing' if there is no MasterGraphOverlay.

When the McFeatures.DisplayOverlays collection is first accessed, the “DefaultOverlay” is the MasterGraphOverlay. McGraphOverlay instances subsequently added to the DisplayOverlays collection are not automatically made the MasterGraphOverlay.

Exceptions

Any assigned McGraphOverlay instance must be 'Nothing' or a member of this DisplayOverlays collection.