Description

The order in which the McGraphObj will be drawn.

Property type

A Long value.  

Syntax

object.DrawingOrder

The DrawingOrder Property syntax has these parts:

PartDescription
objectAn expression evaluating to an object of type McGraphObjLine.

Remarks

If non-negative, the values of this property indicate the relative order in which this McGraphObj will be drawn or enumerated by “For Each” loops

Selected objects are sorted by ascending DrawingOrder for the McGraphOverlay.SelectedGraphObj Index argument.

Template objects (objects of with the mcgcTemplate Category bit set, mcgcTemplateStat and mcgcTemplateUser) and objects of Category mcgcLabel (McGraphObjText label objects) have a DrawingOrder of -1 and are always drawn immediately after their associated mcgcMaster object.

Notes

All DrawingOrder property values are recomputed after any objects are moved via the McGraphOverlay.MoveToFront, McGraphOverlay.MoveToBack, McGraphOverlay.MoveForward or McGraphOverlay.MoveBackward methods.