Share via


GroupShapes Interface

Represents the individual shapes within a grouped shape.

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

Syntax

'Declaration
<GuidAttribute("000209B6-0000-0000-C000-000000000046")> _
Public Interface GroupShapes _
    Inherits IEnumerable
'Usage
Dim instance As GroupShapes
[GuidAttribute("000209B6-0000-0000-C000-000000000046")]
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.Word Namespace