ShapeRange.ZOrder(MsoZOrderCmd) Method

Definition

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).

public:
 void ZOrder(Microsoft::Office::Core::MsoZOrderCmd ZOrderCmd);
public void ZOrder (Microsoft.Office.Core.MsoZOrderCmd ZOrderCmd);
abstract member ZOrder : Microsoft.Office.Core.MsoZOrderCmd -> unit
Public Sub ZOrder (ZOrderCmd As MsoZOrderCmd)

Parameters

ZOrderCmd
MsoZOrderCmd

Required MsoZOrderCmd. Specifies where to move the specified shape relative to the other shapes.MsoZOrderCmd can be one of the following constants:msoBringForwardmsoBringInFrontOfTextmsoBringToFrontmsoSendBackwardmsoSendBehindTextmsoSendToBack

Remarks

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

Applies to