FarPoint.Web.Spread.SheetView sv = null;
FarPoint.Web.Spread.Cell mycell;
FarPoint.Web.Spread.Editor.IEditor ed;
FarPoint.Web.Spread.Renderer.IRenderer rend;
FarPoint.Web.Spread.Renderer.IFormatter fmt;
sv = FpSpread1.ActiveSheetView;
FpSpread1.Sheets[0].ColumnCount = 7;
FpSpread1.Sheets[0].RowCount = 10;
ed = new FarPoint.Web.Spread.GeneralCellType();
rend = new FarPoint.Web.Spread.CurrencyCellType();
fmt = new FarPoint.Web.Spread.DoubleCellType();
mycell = FpSpread1.Cells[0, 0];
mycell.Editor = ed;
mycell.Renderer = rend;
mycell.Formatter = fmt;
ListBox1.Items.Add(Convert.ToString(sv.GetEditor(0, 0)));
ListBox1.Items.Add(Convert.ToString(sv.GetRenderer(0, 0)));
ListBox1.Items.Add(Convert.ToString(sv.GetFormatter(0, 0)));
Dim sv As FarPoint.Web.Spread.SheetView
Dim mycell As FarPoint.Web.Spread.Cell
Dim ed As FarPoint.Web.Spread.Editor.IEditor
Dim rend As FarPoint.Web.Spread.Renderer.IRenderer
Dim fmt As FarPoint.Web.Spread.Renderer.IFormatter
sv = FpSpread1.ActiveSheetView
FpSpread1.Sheets(0).ColumnCount = 7
FpSpread1.Sheets(0).RowCount = 10
ed = New FarPoint.Web.Spread.GeneralCellType()
rend = New FarPoint.Web.Spread.CurrencyCellType()
fmt = New FarPoint.Web.Spread.DoubleCellType()
mycell = FpSpread1.Cells(0, 0)
mycell.Editor = ed
mycell.Renderer = rend
mycell.Formatter = fmt
ListBox1.Items.Add(Convert.ToString(sv.GetEditor(0, 0)))
ListBox1.Items.Add(Convert.ToString(sv.GetRenderer(0, 0)))
ListBox1.Items.Add(Convert.ToString(sv.GetFormatter(0, 0)))