次のサンプルコードは、負のパーセント値に対して、値の後ろにスペースを空けてパーセント記号を付けます。
FarPoint.Win.Spread.CellType.PercentCellType prct = new FarPoint.Win.Spread.CellType.PercentCellType();
prct.NegativeFormat = FarPoint.Win.Spread.CellType.PercentNegativeFormat.PercentAfterWithSpace;
fpSpread1.ActiveSheet.Cells[0, 0].CellType = prct;
fpSpread1.ActiveSheet.Cells[0, 0].Value = -0.34;
Dim prct As New FarPoint.Win.Spread.CellType.PercentCellType()
prct.NegativeFormat = FarPoint.Win.Spread.CellType.PercentNegativeFormat.PercentAfterWithSpace
FpSpread1.ActiveSheet.Cells(0, 0).CellType = prct
FpSpread1.ActiveSheet.Cells(0, 0).Value =- 0.34
System.Object
System.ValueType
System.Enum
FarPoint.Win.Spread.CellType.PercentNegativeFormat