[]
Ungroups any grouped shapes in the specified shape or range of shapes. Disassembles pictures and OLE objects within the specified shape or range of shapes.
IShapeRange Ungroup(bool rtlReposition = false)
Function Ungroup(Optional rtlReposition As Boolean = False) As IShapeRange
Type | Name | Description |
---|---|---|
bool | rtlReposition | A boolean value indicating whether the child shapes reposition from right to left after ungroupped. |
Type | Description |
---|---|
IShapeRange | An IShapeRange object that represents the ungrouped shapes. |
Because a group of shapes is treated as a single object, grouping and ungrouping shapes changes the number of items in the Shapes collection and changes the index numbers of items that come after the affected items in the collection.