Visual Basic (Declaration) | |
---|---|
Public Sub Add() |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As Column instance.Add() |
C# | |
---|---|
public void Add() |
This example adds a column to the sheet.
C# | Copy Code |
---|---|
FarPoint.Win.Spread.Column col;
fpSpread1.ActiveSheet.ColumnCount = 1;
col = fpSpread1.ActiveSheet.Columns[0];
col.Add();
fpSpread1.ActiveSheet.Cells[0, 0].Text = "<-Added"; |
Visual Basic | Copy Code |
---|---|
Dim col As FarPoint.Win.Spread.Column FpSpread1.ColumnCount = 1 col = FpSpread1.ActiveSheet.Columns(0) col.Add() FpSpread1.ActiveSheet.Cells(0, 0).Text = "<-Added" |
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2