Shape.ParentGroupShape Property
Publisher Developer Reference |
Returns a Shape object that represents the common parent shape of a child shape or a range of child shapes.
Syntax
expression.ParentGroupShape
expression A variable that represents a Shape object.
Return Value
Shape
Example
This example creates two shapes in the active document and groups those shapes. Then using one shape in the group, it accesses the parent group and fills all shapes in the parent group with the same fill pattern. This example assumes that the active document does not currently contain any shapes. If it does, an error may occur.
Visual Basic for Applications |
---|
|
See Also
- Shape Object
- Shape Object Members