Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As Columns Dim index As Integer Dim count As Integer instance.Add(index, count) |
Parameters
- index
- Column index at which to start
- count
- Number of columns to add
This example adds a column to the active sheet.
C# | Copy Code |
---|---|
fpSpread1.ActiveSheet.ColumnCount = 1; fpSpread1.ActiveSheet.Columns[0].Add(); |
Visual Basic | Copy Code |
---|---|
fpSpread1.ActiveSheet.ColumnCount = 1 FpSpread1.ActiveSheet.Columns(0).Add() |
Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8