Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As Columns Dim column As Integer Dim value As Column value = instance.Get(column) |
Parameters
- column
- Index of column
Return Value
Column object for the specified columnException | Description |
---|---|
System.IndexOutOfRangeException | Specified column index is out of range. It must be less than -1 or greater than or equal to the column count. |
This example changes the background color of the specified column.
C# | Copy Code |
---|---|
FarPoint.Win.Spread.Column c c = fpSpread1.ActiveSheet.Columns.Get(0); c.BackColor = Color.Yellow; |
Visual Basic | Copy Code |
---|---|
Dim c As FarPoint.Win.Spread.Column c = FpSpread1.ActiveSheet.Columns.Get(0) c.BackColor = Color.Yellow |
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