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


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))
Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows Server 2012 R2, Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10

See Also

Reference

SheetView Class
SheetView Members

 

 


Copyright © GrapeCity, inc. All rights reserved.