FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > SheetView Class > GetPreferredColumnWidth Method : GetPreferredColumnWidth(Int32) Method |
'Declaration Public Overloads Function GetPreferredColumnWidth( _ ByVal column As Integer _ ) As Single
float size;
size = fpSpread1.ActiveSheet.GetPreferredColumnWidth(0);
listBox1.Items.Add(size.ToString());
Dim size As Single size = FpSpread1.ActiveSheet.GetPreferredColumnWidth(0) ListBox1.Items.Add(size.ToString())
Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8