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


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

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

See Also

Reference

Column Class
Column Members

 

 


Copyright © GrapeCity, inc. All rights reserved.