Partager via


ShapeRange.ZOrder Method

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

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

Syntax

'Declaration
Sub ZOrder ( _
    ZOrderCmd As MsoZOrderCmd _
)
'Usage
Dim instance As ShapeRange
Dim ZOrderCmd As MsoZOrderCmd

instance.ZOrder(ZOrderCmd)
void ZOrder(
    MsoZOrderCmd ZOrderCmd
)

Parameters

Remarks

The ZOrderCmd parameter value can be one of these MsoZOrderCmd constants.

msoBringForward

msoBringInFrontOfText

msoBringToFront

msoSendBackward

msoSendBehindText

msoSendToBack

See Also

Reference

ShapeRange Interface

ShapeRange Members

Microsoft.Office.Interop.PowerPoint Namespace