Gets the width in pixels for the specified column on this sheet.
Syntax
Visual Basic (Usage) | Copy Code |
---|
Dim instance As SheetView
Dim column As Integer
Dim value As Integer
value = instance.GetColumnWidth(column) |
Parameters
- column
- Column index
Return Value
Integer number of pixels in the column width
Example
This example illustrates the use of this member by returning the width for the specified column.
C# | Copy Code |
---|
fpSpread1.ActiveSheet.SetColumnWidth(0, 120);
int i;
i = fpSpread1.ActiveSheet.GetColumnWidth(0);
listBox1.Items.Add(i.ToString());
|
Visual Basic | Copy Code |
---|
FpSpread1.ActiveSheet.SetColumnWidth(0, 120)
Dim i As Integer
i = FpSpread1.ActiveSheet.GetColumnWidth(0)
ListBox1.Items.Add(i.ToString())
|
Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
See Also