Share via


_OLEObject.ZOrder Property

Returns the z-order position of the object. Read-only Integer.

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)

Syntax

'Declaration
ReadOnly Property ZOrder As Integer
    Get
'Usage
Dim instance As _OLEObject
Dim value As Integer

value = instance.ZOrder
int ZOrder { get; }

Property Value

Type: System.Int32

Remarks

In any collection of objects, the object at the back of the z-order is collection(1), and the object at the front of the z-order is collection(collection.Count).

See Also

Reference

_OLEObject Interface

_OLEObject Members

Microsoft.Office.Interop.Excel Namespace