Description

Modify the Z ordering by moving the designated object(s) to the top of the Z stack.

Return Type

None  

Syntax

object.MoveToFront [Object]

The MoveToFront Method syntax has these parts:

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

Empty, or contains an IDispatch designating an McGraphObj.

Remarks

If the Object parameter is an empty VARIANT, all the objects being part of the current selection will be moved to the top of the Z stack, otherwise only the McGraphObj contained in Object will be affected.