Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Returns the position of the specified shape in the z-order.
Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)
Syntax
'Declaration
ReadOnly Property ZOrderPosition As Integer
Get
'Usage
Dim instance As Shape
Dim value As Integer
value = instance.ZOrderPosition
int ZOrderPosition { get; }
Property Value
Type: System.Int32
Remarks
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.