Spread Windows Forms 11.0 Product Documentation
AddRangeGroup Method (Columns)
Example 


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > Columns Class : AddRangeGroup Method
Starting column index
Number of columns to group
Groups all the columns from the specified start index by the specified amount to an outline (range group).
Syntax
'Declaration
 
Public Sub AddRangeGroup( _
   ByVal column As Integer, _
   ByVal count As Integer _
) 
'Usage
 
Dim instance As Columns
Dim column As Integer
Dim count As Integer
 
instance.AddRangeGroup(column, count)
public void AddRangeGroup( 
   int column,
   int count
)

Parameters

column
Starting column index
count
Number of columns to group
Example
This example uses the AddRangeGroup method.
fpSpread1.ActiveSheet.Columns.AddRangeGroup(1, 3);
fpSpread1.ActiveSheet.Columns.AddRangeGroup(1, 3)
See Also

Reference

Columns Class
Columns Members