Share via


Shape.IsGroupMember Property (Publisher)

Returns True if the specified shape is a member of a group, False otherwise. Read-only Boolean.

Syntax

expression .IsGroupMember

expression A variable that represents an Shape object.

Return Value

Boolean

Remarks

The object returned by the ParentGroupShape property can be used to determine the parent shape for the group.

Example

The following statement can be used to return a True value if the first shape of the active publication is a group member.

blnGrouped = Application.ActiveDocument.MasterPages _ 
 .Item.Shapes(1).IsGroupMember