Table of contents
TOC
Collapse the table of content
Expand the table of content

Shape.ZOrder Method (Project)

office 365 dev account|Last Updated: 6/12/2017
|
1 Contributor

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

Syntax

expression. ZOrder(ZOrderCmd)

expression A variable that represents a Shape object.

Parameters

NameRequired/OptionalData typeDescription
ZOrderCmdRequiredMsoZOrderCmdSpecifies where to move the shape relative to the other shapes.
ZOrderCmdRequiredMSOZORDERCMD

Return value

Nothing

Remarks

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

See also

Other resources

Shape ObjectMsoZOrderCmdZOrderPosition Property

© 2018 Microsoft