FarPoint.Win.SpreadJ アセンブリ > FarPoint.Win.Spread.CellType 名前空間 > PercentCellType クラス > PercentCellType コンストラクタ : PercentCellType コンストラクタ() |
'Declaration Public Function New()
'使用法 Dim instance As New PercentCellType()
public PercentCellType()
FarPoint.Win.Spread.CellType.PercentCellType prctcell = new FarPoint.Win.Spread.CellType.PercentCellType(); object o; o = "200"; prctcell.Format(o); prctcell.PositiveFormat = FarPoint.Win.Spread.CellType.PercentPositiveFormat.PercentBefore; prctcell.PercentSign = "PRCNT"; fpSpread1.ActiveSheet.Cells[0, 0].CellType = prctcell; fpSpread1.ActiveSheet.Cells[0, 0].Value = o;
Dim prctcell As New FarPoint.Win.Spread.CellType.PercentCellType() Dim o As Object o = "200" prctcell.Format(o) prctcell.PercentSign = "PRCNT" prctcell.PositiveFormat = FarPoint.Win.Spread.CellType.PercentPositiveFormat.PercentBefore FpSpread1.ActiveSheet.Cells(0, 0).CellType = prctcell FpSpread1.ActiveSheet.Cells(0, 0).Value = o