Gets a new column for the specified range of columns.
Syntax
Visual Basic (Usage) | Copy Code |
---|
Dim instance As Columns
Dim column As Integer
Dim column2 As Integer
Dim value As Column
value = instance.Item(column, column2) |
Parameters
- column
- Starting column index for the range
- column2
- Ending column index for the range
Property Value
Column object for the specified range of columns
Exceptions
Example
This example specifies the background color of several columns based on the Item property.
C# | Copy Code |
---|
fpSpread1.ActiveSheet.Columns[0].BackColor = Color.Teal;
fpSpread1.ActiveSheet.Columns[1, 2].BackColor = Color.DarkSeaGreen; |
Visual Basic | Copy Code |
---|
FpSpread1.ActiveSheet.Columns.Item(0).BackColor = Color.Teal
FpSpread1.ActiveSheet.Columns.Item(1, 2).BackColor = Color.DarkSeaGreen |
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