ShapeRange.Ungroup Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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. Returns the ungrouped shapes as a single ShapeRange object.
public:
Microsoft::Office::Interop::Word::ShapeRange ^ Ungroup();
public Microsoft.Office.Interop.Word.ShapeRange Ungroup ();
abstract member Ungroup : unit -> Microsoft.Office.Interop.Word.ShapeRange
Public Function Ungroup () As ShapeRange
Returns
Remarks
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.