Share via


ShapeRange.ZOrder Method

Word Developer Reference

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

Syntax

expression.ZOrder(ZOrderCmd)

expression   An expression that returns a ShapeRange object.

Parameters

Name Required/Optional Data Type Description
ZOrderCmd Required MsoZOrderCmd Specifies where to move the specified shape range relative to the other shapes.

Return Value
Nothing

Remarks

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

See Also