Spread WinForms 15
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet.Drawing Namespace / IShapeBase Interface / ZOrderPosition Property


In This Topic
ZOrderPosition Property (IShapeBase)
In This Topic
Gets the position of the specified shape in the z-order.
Syntax
'Declaration
 
ReadOnly Property ZOrderPosition As Integer
 
'Usage
 
Dim instance As IShapeBase
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