[]
        
(Showing Draft Content)

GrapeCity.Spreadsheet.Drawing.IShapeRange.Group

Group Method

Group(bool)

Groups the shapes in the specified range.

Declaration
IGroupShape Group(bool rtlReposition = false)
Function Group(Optional rtlReposition As Boolean = False) As IGroupShape
Parameters
Type Name Description
bool rtlReposition

A boolean value indicating whether the child shapes reposition from right to left after groupped.

Returns
Type Description
IGroupShape

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.