Spread Windows Forms 14.0
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet.Drawing Namespace / IShapeRange Interface / Group Method

In This Topic
    Group Method (IShapeRange)
    In This Topic
    Groups the shapes in the specified range.
    Function Group() As IGroupShape
    Dim instance As IShapeRange
    Dim value As IGroupShape
    value = instance.Group()
    IGroupShape Group()

    Return Value

    The IShape object contains all grouped 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.
    See Also