次のサンプルコードは、負の値を表示する場合、値の前に通貨記号とスペースを付けて全体を( )で囲みます。
FarPoint.Win.Spread.CellType.CurrencyCellType crrct = new FarPoint.Win.Spread.CellType.CurrencyCellType();
crrct.NegativeFormat = FarPoint.Win.Spread.CellType.CurrencyNegativeFormat.ParenthesesSymbolSpaceBefore;
crrct.CurrencySymbol = "\xA3";
crrct.NegativeRed = true;
fpSpread1.ActiveSheet.Cells[0, 0].CellType = crrct;
fpSpread1.ActiveSheet.Cells[0, 0].Value = -435.0;
Dim crrct As New FarPoint.Win.Spread.CellType.CurrencyCellType()
crrct.NegativeFormat = FarPoint.Win.Spread.CellType.CurrencyNegativeFormat.ParenthesesSymbolSpaceBefore
crrct.CurrencySymbol = Chr(163)
crrct.NegativeRed = True
FpSpread1.ActiveSheet.Cells(0, 0).CellType = crrct
FpSpread1.ActiveSheet.Cells(0, 0).Value = -435.0
System.Object
System.ValueType
System.Enum
FarPoint.Win.Spread.CellType.CurrencyNegativeFormat