Spread Windows Forms 14.0
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet.Drawing Namespace / IShapeBase Interface / Ungroup Method


In This Topic
    Ungroup Method (IShapeBase)
    In This Topic
    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.
    Syntax
    'Declaration
     
    
    Function Ungroup() As IShapeRange
    'Usage
     
    
    Dim instance As IShapeBase
    Dim value As IShapeRange
     
    value = instance.Ungroup()
    IShapeRange Ungroup()

    Return Value

    An IShapeRange object that represents the ungrouped shapes.
    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.
    See Also