FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > SheetView Class : GetCellType Method |
'Declaration Public Overridable Function GetCellType( _ ByVal row As Integer, _ ByVal column As Integer _ ) As ICellType
Note: If your sheet contains numeric data and you are planning to export the sheet to Excel, for best results place any numeric data in a currency, number, or percent cell in Spread.
FarPoint.Web.Spread.SheetView sv=FpSpread1.ActiveSheetView;
sv.Cells[0,0].CellType=new FarPoint.Web.Spread.ButtonCellType();
ListBox1.Items.Add(Convert.ToString(sv.GetCellType(0,0)));
Dim sv As FarPoint.Web.Spread.SheetView sv=FpSpread1.ActiveSheetView sv.Cells(0,0).CellType=NewFarPoint.Web.Spread.ButtonCellType() ListBox1.Items.Add(Convert.ToString(sv.GetCellType(0,0)))
Target Platforms: Windows 7, Windows 8, Windows Vista, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6