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


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())
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.