Spread Windows Forms 11.0 Product Documentation
GetColumnWidth(Int32) Method
Example 


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > SheetView Class : GetColumnWidth(Int32) Method
Column index
Gets the width in pixels for the specified column on this sheet.
Syntax
'Declaration
 
Public Function GetColumnWidth( _
   ByVal column As Integer _
) As Integer
'Usage
 
Dim instance As SheetView
Dim column As Integer
Dim value As Integer
 
value = instance.GetColumnWidth(column)
public int GetColumnWidth( 
   int column
)

Parameters

column
Column index
Example
This example uses the GetColumnWidth method.
listBox1.Items.Add(fpSpread1.Sheets[0].GetColumnWidth(2).ToString());
ListBox1.Items.Add(FpSpread1.Sheets(0).GetColumnWidth(2).ToString())
See Also

Reference

SheetView Class
SheetView Members