Edit

Share via


GroupShapes Interface

Definition

Represents the individual shapes within a grouped shape.

public interface class GroupShapes : System::Collections::IEnumerable
[System.Runtime.InteropServices.Guid("0002443C-0000-0000-C000-000000000046")]
[System.Runtime.InteropServices.InterfaceType(2)]
public interface GroupShapes : System.Collections.IEnumerable
Public Interface GroupShapes
Implements IEnumerable
Attributes
Implements

Remarks

Each shape is represented by a Shape object. Using the Item(Object) method with this object, you can work with single shapes within a group without having to ungroup them.

Use the GroupItems property to return the GroupShapes collection. Use GroupItems(index), where index is the number of the individual shape within the grouped shape, to return a single shape from the GroupShapes collection.

Properties

Application

Returns an Application object that represents the Microsoft Excel application.

Count

Returns the number of objects in the collection.

Creator

Returns a 32-bit integer that indicates the application in which this object was created.

Parent

Returns the parent object for the specified object.

Range[Object]

Returns a ShapeRange object that represents a subset of the shapes in a Shapes collection.

Methods

_Default(Object)

Reserved for internal use.

GetEnumerator()
Item(Object)

Returns a single object from a collection.

Applies to