Spread Windows Forms 12.0 Product Documentation
Add Method (Column)
Example 


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > Column Class : Add Method
Adds a new column or range of columns before this column or range of columns.
Syntax
'Declaration
 
Public Sub Add() 
'Usage
 
Dim instance As Column
 
instance.Add()
public void Add()
Example
This example adds a column to the sheet.
FarPoint.Win.Spread.Column col;
fpSpread1.ActiveSheet.ColumnCount = 1;
col = fpSpread1.ActiveSheet.Columns[0];
col.Add();
fpSpread1.ActiveSheet.Cells[0, 0].Text = "<-Added";
Dim col As FarPoint.Win.Spread.Column
fpSpread1.ColumnCount = 1
col = FpSpread1.ActiveSheet.Columns(0)
col.Add()
fpSpread1.ActiveSheet.Cells(0, 0).Text = "<-Added"
See Also

Reference

Column Class
Column Members