SetZOrder Method

The SetZOrder method moves the selected objects to front, to back, forward, or backward in the Z (drawing) order.

Syntax

object.SetZOrder( zOrder )

 

Parameter Type Description
zOrder Long required, grfZOrder

 

Example

This example shows how to move the ellipse to the back of the drawing order.

Ellipse.SetZOrder(grfZOToBack)

 

Used by: AutoSelection collection, AutoShape object