FarPoint.Win.Spread.CellType.PercentCellType prctcell = new FarPoint.Win.Spread.CellType.PercentCellType();
object o;
o = "20";
prctcell.Format(o);
prctcell.PositiveFormat = FarPoint.Win.Spread.CellType.PercentPositiveFormat.PercentAfter;
prctcell.PercentSign = "P";
fpSpread1.ActiveSheet.Cells[0, 0].CellType = prctcell;
fpSpread1.ActiveSheet.Cells[0, 0].Value = o;
FarPoint.Win.Spread.CellType.PercentCellType percent = new FarPoint.Win.Spread.CellType.PercentCellType(prctcell);
fpSpread1.ActiveSheet.Cells[0, 1].CellType = percent;
fpSpread1.ActiveSheet.Cells[0, 1].Value = o;
Dim prctcell As New FarPoint.Win.Spread.CellType.PercentCellType()
Dim o As object
o = "20"
prctcell.Format(o)
prctcell.PositiveFormat = FarPoint.Win.Spread.CellType.PercentPositiveFormat.PercentAfter
prctcell.PercentSign = "P"
fpSpread1.ActiveSheet.Cells(0, 0).CellType = prctcell
fpSpread1.ActiveSheet.Cells(0, 0).Value = o
Dim percent As New FarPoint.Win.Spread.CellType.PercentCellType(prctcell)
fpSpread1.ActiveSheet.Cells(0, 1).CellType = percent
fpSpread1.ActiveSheet.Cells(0, 1).Value = o