'Declaration
ReadOnly Property ZOrderPosition As Integer
'Usage
Dim instance As IDrawingObject Dim value As Integer value = instance.ZOrderPosition
int ZOrderPosition {get;}
'Declaration
ReadOnly Property ZOrderPosition As Integer
'Usage
Dim instance As IDrawingObject Dim value As Integer value = instance.ZOrderPosition
int ZOrderPosition {get;}
A shape's position in the z-order corresponds to the shape's index number in the Shapes collection. Whenever you add a new shape to a collection, it's added to the front of the z-order by default.