AddObject Method

Adds an object to a Group.

Syntax

object.AddObject dispObject

Properties

The AddObject method syntax has these parts:

Part

Description

object

An object expression that evaluates to an object in the Applies To list.

pdispObject

Object. The object that you want to add to the group. When an object is added to a group it is put at the top of the group's stacking order (drawing order).

Remarks

We recommend that you build groups either by using the BuildObject method on the group object, or using the Group method on the Picture object to group the selected objects.

 

Example

Applies To