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


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)
Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows Server 2012 R2, Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10

See Also

Reference

Columns Class
Columns Members

 

 


Copyright © GrapeCity, inc. All rights reserved.