Spread Windows Forms 12.0 Product Documentation
Get(Int32) Method
Example 


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > Columns Class > Get Method : Get(Int32) Method
Index of column
Gets the specified column.
Syntax
'Declaration
 
Public Overloads Function Get( _
   ByVal column As Integer _
) As Column
'Usage
 
Dim instance As Columns
Dim column As Integer
Dim value As Column
 
value = instance.Get(column)
public Column Get( 
   int column
)

Parameters

column
Index of column

Return Value

Column object for the specified column
Exceptions
ExceptionDescription
Specified column index is out of range. It must be less than -1 or greater than or equal to the column count.
Example
This example changes the background color of the specified column.
FarPoint.Win.Spread.Column c
c = fpSpread1.ActiveSheet.Columns.Get(0);
c.BackColor = Color.Yellow;
Dim c As FarPoint.Win.Spread.Column
c = fpSpread1.ActiveSheet.Columns.Get(0)
c.BackColor = Color.Yellow
See Also

Reference

Columns Class
Columns Members
Overload List