Compartilhar via


GroupShapes Interface

Represents the individual shapes within a grouped shape.

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

Syntax

'Declaration
<GuidAttribute("0002443C-0000-0000-C000-000000000046")> _
<InterfaceTypeAttribute()> _
Public Interface GroupShapes _
    Inherits IEnumerable
'Usage
Dim instance As GroupShapes
[GuidAttribute("0002443C-0000-0000-C000-000000000046")]
[InterfaceTypeAttribute()]
public interface GroupShapes : IEnumerable

Remarks

Each shape is represented by a Shape object. Using the Item 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.

See Also

Reference

GroupShapes Members

Microsoft.Office.Interop.Excel Namespace