Skip to content

Latest commit

 

History

History
40 lines (23 loc) · 1.3 KB

Word.ShapeRange.ZOrderPosition.md

File metadata and controls

40 lines (23 loc) · 1.3 KB
title keywords f1_keywords api_name ms.assetid ms.date ms.localizationpriority
ShapeRange.ZOrderPosition property (Word)
vbawd10.chm162857089
vbawd10.chm162857089
Word.ShapeRange.ZOrderPosition
358898b6-eab7-96f8-8f4e-bb993a425e5e
06/08/2017
medium

ShapeRange.ZOrderPosition property (Word)

Returns a Long that represents the position of the specified shape in the z-order. Read-only.

Syntax

expression.ZOrderPosition

expression An expression that returns a 'ShapeRange' object.

Remarks

Shapes(1) returns the shape at the back of the z-order, and Shapes(Shapes.Count) returns the shape at the front of the z-order. This property is read-only. 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. For example, if there are four shapes on myDocument, the expression myDocument.Shapes(1) returns the shape at the back of the z-order, and the expression myDocument.Shapes(4) returns the shape at the front of the z-order.

Whenever you add a new shape to a collection, it is added to the front of the z-order by default.

See also

ShapeRange Collection Object

[!includeSupport and feedback]