FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > SheetView Class : GetPreferredCellSize Method |
'Declaration Public Function GetPreferredCellSize( _ ByVal row As Integer, _ ByVal col As Integer _ ) As Size
System.Drawing.Size sz;
fpSpread1.ActiveSheet.SetValue(0, 0, "Let's get the preferred size");
sz = fpSpread1.ActiveSheet.GetPreferredCellSize(0,0);
listBox1.Items.Add(sz.ToString());
Dim sz As System.Drawing.Size FpSpread1.ActiveSheet.SetValue(0, 0, "Let's get the preferred size") sz = FpSpread1.ActiveSheet.GetPreferredCellSize(0, 0) ListBox1.Items.Add(sz.ToString())
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
SheetView Class
SheetView Members
GetPreferredColumnWidth Method
GetPreferredRowHeight Method