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


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > SheetView Class : GetViewColumnFromModelColumn(Int32) Method
Column index in model
Gets the column on the sheet that corresponds to the specified column index in the model.
Syntax
'Declaration
 
Public Overridable Function GetViewColumnFromModelColumn( _
   ByVal modelcolumn As Integer _
) As Integer
'Usage
 
Dim instance As SheetView
Dim modelcolumn As Integer
Dim value As Integer
 
value = instance.GetViewColumnFromModelColumn(modelcolumn)
public virtual int GetViewColumnFromModelColumn( 
   int modelcolumn
)

Parameters

modelcolumn
Column index in model
Example
This example uses the GetViewColumnFromModelColumn method.
listBox1.Items.Add(fpSpread1.Sheets[0].GetViewColumnFromModelColumn(1));
ListBox1.Items.Add(fpSpread1.Sheets(0).GetViewColumnFromModelColumn(1))
See Also

Reference

SheetView Class
SheetView Members