ShapeRange.ZOrder method

Moves the specified shape in front of or behind other shapes in the collection (that is, changes the shape's position in the z-order).

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

void ZOrder(
	MsoZOrderCmd ZOrderCmd
)

Parameters

ZOrderCmd
Type: Microsoft.Office.Core.MsoZOrderCmd

Required MsoZOrderCmd. Specifies where to move the specified shape relative to the other shapes.

MsoZOrderCmd can be one of the following constants:

msoBringForward

msoBringInFrontOfText

msoBringToFront

msoSendBackward

msoSendBehindText

msoSendToBack

Use the ZOrderPosition property to determine a shape's current position in the z-order.

Show:
© 2014 Microsoft