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.
    Syntax
    'Declaration
     
    
    Function Group() As IGroupShape
    'Usage
     
    
    Dim instance As IShapeRange
    Dim value As IGroupShape
     
    value = instance.Group()
    IGroupShape Group()

    Return Value

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