Spread WinForms 15
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet.Drawing Namespace / IShapeRange Interface / Group Method
A boolean value indicating whether the child shapes reposition from right to left after groupped.


In This Topic
Group Method (IShapeRange)
In This Topic
Groups the shapes in the specified range.
Syntax
'Declaration
 
Function Group( _
   Optional ByVal rtlReposition As Boolean _
) As IGroupShape
 
'Usage
 
Dim instance As IShapeRange
Dim rtlReposition As Boolean
Dim value As IGroupShape
 
value = instance.Group(rtlReposition)

Parameters

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

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