Spread WinForms 15
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet.Drawing Namespace / Shape Class / ZOrderPosition Property


In This Topic
ZOrderPosition Property (Shape)
In This Topic
Gets the position of the specified shape in the z-order.
Syntax
'Declaration
 
Public ReadOnly Property ZOrderPosition As Integer
 
'Usage
 
Dim instance As Shape
Dim value As Integer
 
value = instance.ZOrderPosition

Property Value

The position of the specified shape in the z-order.
Remarks
The value is on base-1.

To set the shape's position in the z-order, use the ZOrder method.

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.

See Also