Spread Windows Forms 7.0 Product Documentation
GetColumnWidth Method
See Also  Example Support Options
FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > SheetView Class : GetColumnWidth Method


Glossary Item Box

Gets the width in pixels for the specified column on this sheet.

Overload List

OverloadDescription
GetColumnWidthGets the width in pixels for the specified column on this sheet.  

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 BasicCopy Code
FpSpread1.ActiveSheet.SetColumnWidth(0, 120)
Dim i As Integer
i = FpSpread1.ActiveSheet.GetColumnWidth(0)
ListBox1.Items.Add(i.ToString())

Requirements

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

See Also

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.