Spread for ASP.NET 11 Product Documentation
GetColumnIndex Method (FpSpread)
Example 


FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > FpSpread Class : GetColumnIndex Method
Returns the client column index for the specified column.
Syntax
'Declaration
 
Public Function GetColumnIndex( _
   ByVal column As Integer _
) As Integer
'Usage
 
Dim instance As FpSpread
Dim column As Integer
Dim value As Integer
 
value = instance.GetColumnIndex(column)
public int GetColumnIndex( 
   int column
)

Parameters

column
Example
This example uses the GetColumnIndex method.
FpSpread1.Sheets[0].RowCount = 30;
ListBox1.Items.Add(FpSpread1.GetColumnIndex(1).ToString());
ListBox1.Items.Add(FpSpread1.GetRowIndex(1, 1).ToString());
ListBox1.Items.Add(FpSpread1.GetPageIndex(11).ToString());
FpSpread1.Sheets(0).RowCount = 30
ListBox1.Items.Add(FpSpread1.GetColumnIndex(1).ToString())
ListBox1.Items.Add(FpSpread1.GetRowIndex(1, 1).ToString())
ListBox1.Items.Add(FpSpread1.GetPageIndex(11).ToString())
See Also

Reference

FpSpread Class
FpSpread Members