Spread Windows Forms 13.0 Product Documentation
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread Namespace / Columns Class / AddRangeGroup Method
Starting column index
Number of columns to group
Example


In This Topic
    AddRangeGroup Method (Columns)
    In This Topic
    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